Add localization support, add drink icons in list, fix display error for out-of-stock favourites, fix low-res profile picture
This commit is contained in:
@@ -29,12 +29,12 @@ struct DrinkDetailView: View {
|
||||
HStack {
|
||||
VStack {
|
||||
Text(String(format: "%img", drink.caffeine)).fontWeight(.bold)
|
||||
Text("Caffeine").fontWeight(Font.Weight.thin)
|
||||
Text(String(localized: "CAFFEINE")).fontWeight(Font.Weight.thin)
|
||||
}
|
||||
Divider()
|
||||
VStack {
|
||||
Text(String(format: "%.2f€", drink.GetPrice())).fontWeight(.bold)
|
||||
Text("Price").fontWeight(Font.Weight.thin)
|
||||
Text(String(localized: "PRICE")).fontWeight(Font.Weight.thin)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ struct DrinkDetailView: View {
|
||||
// Open the transaction sheet
|
||||
shouldShowTransactionSheet = true
|
||||
}) {
|
||||
Text("Poison picked!")
|
||||
Text(String(localized: "POISON_PICKED"))
|
||||
}.tint(.green)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user