Improve clarity of mute button to indicate it serves as a block feature
Changelog-Changed: Improved clarity of the mute button to indicate it can be used for blocking a user Signed-off-by: Daniel D’Aquino <daniel@daquino.me>
This commit is contained in:
@@ -588,7 +588,7 @@ struct ContentView: View {
|
|||||||
}, message: {
|
}, message: {
|
||||||
Text("No mute list found, create a new one? This will overwrite any previous mute lists.", comment: "Alert message prompt that asks if the user wants to create a new mute list, overwriting previous mute lists.")
|
Text("No mute list found, create a new one? This will overwrite any previous mute lists.", comment: "Alert message prompt that asks if the user wants to create a new mute list, overwriting previous mute lists.")
|
||||||
})
|
})
|
||||||
.alert(NSLocalizedString("Mute User", comment: "Title of alert for muting a user."), isPresented: $confirm_mute, actions: {
|
.alert(NSLocalizedString("Mute/Block User", comment: "Title of alert for muting/blocking a user."), isPresented: $confirm_mute, actions: {
|
||||||
Button(NSLocalizedString("Cancel", comment: "Alert button to cancel out of alert for muting a user."), role: .cancel) {
|
Button(NSLocalizedString("Cancel", comment: "Alert button to cancel out of alert for muting a user."), role: .cancel) {
|
||||||
confirm_mute = false
|
confirm_mute = false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ struct MenuItems: View {
|
|||||||
MuteDurationMenu { duration in
|
MuteDurationMenu { duration in
|
||||||
notify(.mute(.user(target_pubkey, duration?.date_from_now)))
|
notify(.mute(.user(target_pubkey, duration?.date_from_now)))
|
||||||
} label: {
|
} label: {
|
||||||
Label(NSLocalizedString("Mute user", comment: "Context menu option for muting users."), image: "mute")
|
Label(NSLocalizedString("Mute/Block user", comment: "Context menu option for muting/blocking users."), image: "mute")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user