From 7ab9c2f4acdf69d5685fa4948295149f14c60d25 Mon Sep 17 00:00:00 2001 From: Alexander Kauer Date: Mon, 17 Jun 2024 17:16:02 +0200 Subject: [PATCH] Table Group design improvement --- WaiterRobot/Ui/TableList/TableGroupSection.swift | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/WaiterRobot/Ui/TableList/TableGroupSection.swift b/WaiterRobot/Ui/TableList/TableGroupSection.swift index af44973..3cfe524 100644 --- a/WaiterRobot/Ui/TableList/TableGroupSection.swift +++ b/WaiterRobot/Ui/TableList/TableGroupSection.swift @@ -19,9 +19,16 @@ struct TableGroupSection: View { } } header: { HStack { - Color(UIColor.lightGray).frame(height: 1) Text(tableGroup.name) - Color(UIColor.lightGray).frame(height: 1) + .font(.title2) + .foregroundStyle(.white) + .padding(6) + .background { + RoundedRectangle(cornerRadius: 8.0) + .foregroundStyle(Color(.main)) + } + + Spacer() } } }