diff --git a/REZ/AccountClosed.xaml b/REZ/AccountClosed.xaml index 2aceb1b..6495148 100644 --- a/REZ/AccountClosed.xaml +++ b/REZ/AccountClosed.xaml @@ -13,15 +13,15 @@ - - - + + + diff --git a/REZ/AccountInfo.xaml b/REZ/AccountInfo.xaml index 0a04d40..cecaa84 100644 --- a/REZ/AccountInfo.xaml +++ b/REZ/AccountInfo.xaml @@ -20,27 +20,27 @@ - + diff --git a/REZ/AccountsList.cs b/REZ/AccountsList.cs index e8564fc..7482929 100644 --- a/REZ/AccountsList.cs +++ b/REZ/AccountsList.cs @@ -132,9 +132,10 @@ public static async void OpenAddAccountModal(Page page, Action UpdateUs ContentDialog dialog = new ContentDialog(); dialog.XamlRoot = page.XamlRoot; dialog.Style = Microsoft.UI.Xaml.Application.Current.Resources["DefaultContentDialogStyle"] as Style; - dialog.Title = "Hello, let's start!?"; + dialog.Title = "Hello, let's get started!"; dialog.PrimaryButtonText = "Add account"; - dialog.CloseButtonText = "Cancel"; + if (Accounts.Count > 0) + dialog.CloseButtonText = "Cancel"; dialog.DefaultButton = ContentDialogButton.Primary; dialog.Content = new AddAccountModal(dialog); dialog.PrimaryButtonClick += delegate { AddAccount(dialog.Content, UpdateUser); }; diff --git a/REZ/AddAccountModal.xaml b/REZ/AddAccountModal.xaml index b5cf067..a73f9e5 100644 --- a/REZ/AddAccountModal.xaml +++ b/REZ/AddAccountModal.xaml @@ -10,11 +10,11 @@ Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> - - - - + diff --git a/REZ/FoodMenu.xaml b/REZ/FoodMenu.xaml index 28e60ef..178c684 100644 --- a/REZ/FoodMenu.xaml +++ b/REZ/FoodMenu.xaml @@ -29,14 +29,14 @@ - + @@ -75,7 +75,7 @@ @@ -98,7 +98,7 @@ diff --git a/REZ/Properties/Products.json b/REZ/Properties/Products.json index 52de773..9b8b5c0 100644 --- a/REZ/Properties/Products.json +++ b/REZ/Properties/Products.json @@ -201,7 +201,7 @@ }, { "Name": "Croissant", - "Category": "Coffee and Desserts", + "Category": "Cafeteria", "SubCategory": "Sweets", "Description": "Our Croissant recipe with powdered sugar.", "Price": 8, @@ -209,7 +209,7 @@ }, { "Name": "Cappuccino", - "Category": "Coffee and Desserts", + "Category": "Cafeteria", "SubCategory": "Coffees", "Description": "A creamy cappuccino topped with cocoa powder.", "Price": 9, @@ -217,7 +217,7 @@ }, { "Name": "Espresso Coffee", - "Category": "Coffee and Desserts", + "Category": "Cafeteria", "SubCategory": "Coffees", "Description": "Traditional Espresso made with Orfeu coffee.", "Price": 5, @@ -225,7 +225,7 @@ }, { "Name": "Chocolate Brownie", - "Category": "Coffee and Desserts", + "Category": "Cafeteria", "SubCategory": "Sweets", "Description": "Belgian chocolate brownie.", "Price": 8, @@ -233,7 +233,7 @@ }, { "Name": "Strawberry Gelato", - "Category": "Coffee and Desserts", + "Category": "Cafeteria", "SubCategory": "Sweets", "Description": "Creamy strawberry-flavored gelato.", "Price": 10, @@ -241,7 +241,7 @@ }, { "Name": "Chocolate Sorbet", - "Category": "Coffee and Desserts", + "Category": "Cafeteria", "SubCategory": "Sweets", "Description": "Classic dark chocolate sorbet.", "Price": 10, @@ -249,7 +249,7 @@ }, { "Name": "Tiramisù", - "Category": "Coffee and Desserts", + "Category": "Cafeteria", "SubCategory": "Sweets", "Description": "A classic Italian dessert with layers of biscuits, coffee, and mascarpone.", "Price": 15, diff --git a/REZ/ShoppingCartModal.xaml b/REZ/ShoppingCartModal.xaml index 8cafc0e..6df5239 100644 --- a/REZ/ShoppingCartModal.xaml +++ b/REZ/ShoppingCartModal.xaml @@ -15,7 +15,7 @@ Text="" TextWrapping="Wrap" Margin="12, 12, 12, 0"/> - - - - + + + diff --git a/REZ/SwitchAccountModal.xaml b/REZ/SwitchAccountModal.xaml index 6080804..f765a8e 100644 --- a/REZ/SwitchAccountModal.xaml +++ b/REZ/SwitchAccountModal.xaml @@ -18,5 +18,5 @@ - +