Use localized text for backup prompt
This commit is contained in:
parent
83c69fdd3b
commit
831a1a9c20
@ -200,7 +200,7 @@ public class SettingsFragment extends NamedFragment {
|
|||||||
|
|
||||||
binding.settingsCreateBackup.setOnClickListener(view -> {
|
binding.settingsCreateBackup.setOnClickListener(view -> {
|
||||||
new StyledDialogBuilder(requireContext())
|
new StyledDialogBuilder(requireContext())
|
||||||
.setItems(new String[]{"Create with current password", "Create with custom password"}, (d, which) -> {
|
.setItems(R.array.backup_create, (d, which) -> {
|
||||||
switch(which) {
|
switch(which) {
|
||||||
case 0:
|
case 0:
|
||||||
OTPDatabase.promptLoadDatabase(requireActivity(), () -> {
|
OTPDatabase.promptLoadDatabase(requireActivity(), () -> {
|
||||||
|
Loading…
Reference in New Issue
Block a user