1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-12 21:30:32 +05:30

Localization fix

This commit is contained in:
Arkadiusz Fal 2022-11-19 15:45:27 +01:00
parent 45705e0b29
commit da5e582b59

View File

@ -124,9 +124,10 @@ struct InstancesSettings: View {
Button("Remove Location") {
settings.presentAlert(Alert(
title: Text(
"Are you sure you want to remove \(selectedInstance!.longDescription) location?"
),
title: Text(String(
format: "Are you sure you want to remove %@ location?",
selectedInstance?.longDescription ?? ""
)),
message: Text("This cannot be reverted"),
primaryButton: .destructive(Text("Remove")) {
if accounts.current?.instance == selectedInstance {