chore: Follow up change own power level

This commit is contained in:
krille-chan 2024-04-17 09:48:27 +02:00
commit 1f12b72271
No known key found for this signature in database
2 changed files with 5 additions and 2 deletions

View file

@ -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;