mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-30 04:20:16 +02:00
Bugfix: HTML Source was broken (could not add apps)
This commit is contained in:
@@ -123,6 +123,9 @@ class HTML extends AppSource {
|
||||
textInputType: const TextInputType.numberWithOptions(),
|
||||
additionalValidators: [
|
||||
(value) {
|
||||
if (value?.isEmpty == true) {
|
||||
value = null;
|
||||
}
|
||||
value ??= '1';
|
||||
return intValidator(value);
|
||||
}
|
||||
|
Reference in New Issue
Block a user