Disable cancel repo settings dialogs (#843)

Merge branch 'master' into disable-dialog-close-repo-settings

Disable cancel repo settings dialogs

Co-authored-by: opyale <opyale@noreply.codeberg.org>
Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/843
Reviewed-by: opyale <opyale@noreply.codeberg.org>
Co-Authored-By: M M Arif <mmarif@noreply.codeberg.org>
Co-Committed-By: M M Arif <mmarif@noreply.codeberg.org>
This commit is contained in:
M M Arif 2021-03-09 22:21:42 +01:00 committed by opyale
parent c353275ab8
commit fb0bd0299c

View File

@ -113,6 +113,7 @@ public class RepositorySettingsActivity extends BaseActivity {
} }
}); });
dialogTransferRepository.setCancelable(false);
dialogTransferRepository.show(); dialogTransferRepository.show();
} }
@ -195,6 +196,7 @@ public class RepositorySettingsActivity extends BaseActivity {
} }
}); });
dialogDeleteRepository.setCancelable(false);
dialogDeleteRepository.show(); dialogDeleteRepository.show();
} }
@ -334,6 +336,7 @@ public class RepositorySettingsActivity extends BaseActivity {
propBinding.repoEnableMerge.isChecked(), propBinding.repoEnableRebase.isChecked(), propBinding.repoEnableMerge.isChecked(), propBinding.repoEnableRebase.isChecked(),
propBinding.repoEnableSquash.isChecked(), propBinding.repoEnableForceMerge.isChecked())); propBinding.repoEnableSquash.isChecked(), propBinding.repoEnableForceMerge.isChecked()));
dialogProp.setCancelable(false);
dialogProp.show(); dialogProp.show();
} }