Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
yuliskov committed Oct 21, 2024
1 parent 3c0cb80 commit 522001d
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,11 @@ private void createAndShowDialog() {
}

private void appendGDriveRestoreSettings(AppDialogPresenter settingsPresenter) {
settingsPresenter.appendSingleButton(UiOptionItem.from(getContext().getString(R.string.app_restore), optionItem -> {
mGDriveBackupManager.restore();
settingsPresenter.closeDialog();
}));
settingsPresenter.appendSingleButton(UiOptionItem.from(getContext().getString(R.string.app_restore), optionItem -> mGDriveBackupManager.restore()));
}

private void appendGDriveBackupSettings(AppDialogPresenter settingsPresenter) {
settingsPresenter.appendSingleButton(UiOptionItem.from(getContext().getString(R.string.app_backup), optionItem -> {
mGDriveBackupManager.backup();
settingsPresenter.closeDialog();
}));
settingsPresenter.appendSingleButton(UiOptionItem.from(getContext().getString(R.string.app_backup), optionItem -> mGDriveBackupManager.backup()));
}

private void appendGDriveMiscButton(AppDialogPresenter settingsPresenter) {
Expand Down

0 comments on commit 522001d

Please sign in to comment.