mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
Localization fix
This commit is contained in:
parent
45705e0b29
commit
da5e582b59
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user