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") {
|
Button("Remove Location") {
|
||||||
settings.presentAlert(Alert(
|
settings.presentAlert(Alert(
|
||||||
title: Text(
|
title: Text(String(
|
||||||
"Are you sure you want to remove \(selectedInstance!.longDescription) location?"
|
format: "Are you sure you want to remove %@ location?",
|
||||||
),
|
selectedInstance?.longDescription ?? ""
|
||||||
|
)),
|
||||||
message: Text("This cannot be reverted"),
|
message: Text("This cannot be reverted"),
|
||||||
primaryButton: .destructive(Text("Remove")) {
|
primaryButton: .destructive(Text("Remove")) {
|
||||||
if accounts.current?.instance == selectedInstance {
|
if accounts.current?.instance == selectedInstance {
|
||||||
|
Loading…
Reference in New Issue
Block a user