fix(mute-confirmation-sheet-timer-dialog): use Ok instead of Save

This commit is contained in:
LucasGGamerM 2024-05-05 16:21:44 -03:00
parent 6f89dd7331
commit 9cb48e2f25
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ public class MuteAccountConfirmationSheet extends AccountRestrictionConfirmation
builder.setSingleChoiceItems(choices, 0, (dialog, which) -> {}); builder.setSingleChoiceItems(choices, 0, (dialog, which) -> {});
builder.setPositiveButton(R.string.save, (dialog, which)->{ builder.setPositiveButton(R.string.ok, (dialog, which)->{
int selected = ((AlertDialog) dialog).getListView().getCheckedItemPosition(); int selected = ((AlertDialog) dialog).getListView().getCheckedItemPosition();
if(selected==0){ if(selected==0){
muteDuration.set(Duration.ZERO); muteDuration.set(Duration.ZERO);