mirror of
https://codeberg.org/gitnex/GitNex.git
synced 2024-12-16 15:48:13 +08:00
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:
parent
c353275ab8
commit
fb0bd0299c
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user