chore: Follow up change own power level
This commit is contained in:
parent
2a4fd6927c
commit
1f12b72271
2 changed files with 5 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ Future<int?> showPermissionChooser(
|
|||
return L10n.of(context)!.pleaseEnterANumber;
|
||||
}
|
||||
final level = int.tryParse(text);
|
||||
if (level == null || level < 0) {
|
||||
if (level == null) {
|
||||
return L10n.of(context)!.pleaseEnterANumber;
|
||||
}
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue