feat: warn user for selecting all patches (#649)

This commit is contained in:
EvadeMaster 2023-01-21 22:37:28 +07:00 committed by GitHub
parent f1e60f96c4
commit c3df48174c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -155,6 +155,9 @@ class _PatchesSelectorViewState extends State<PatchesSelectorView> {
CustomChip(
label: I18nText('patchesSelectorView.all'),
onSelected: (value) {
if (value) {
model.selectAllPatcherWarning(context);
}
model.selectAllPatches(true);
},
),