mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-22 17:19:42 +02:00
Increment versionCode (#1098) + ran 'dart fix'
This commit is contained in:
@@ -174,7 +174,7 @@ class GitLab extends AppSource {
|
|||||||
...getLinksFromParsedHTML(entryContent,
|
...getLinksFromParsedHTML(entryContent,
|
||||||
RegExp('/[^/]+\\.apk\$', caseSensitive: false), '')
|
RegExp('/[^/]+\\.apk\$', caseSensitive: false), '')
|
||||||
.where((element) => Uri.parse(element).host != '')
|
.where((element) => Uri.parse(element).host != '')
|
||||||
.toList()
|
|
||||||
];
|
];
|
||||||
var entryId = entry.querySelector('id')?.innerHtml;
|
var entryId = entry.querySelector('id')?.innerHtml;
|
||||||
var version =
|
var version =
|
||||||
|
@@ -27,21 +27,16 @@ class GeneratedFormTextField extends GeneratedFormItem {
|
|||||||
late bool password;
|
late bool password;
|
||||||
late TextInputType? textInputType;
|
late TextInputType? textInputType;
|
||||||
|
|
||||||
GeneratedFormTextField(String key,
|
GeneratedFormTextField(super.key,
|
||||||
{String label = 'Input',
|
{super.label,
|
||||||
List<Widget> belowWidgets = const [],
|
super.belowWidgets,
|
||||||
String defaultValue = '',
|
String super.defaultValue = '',
|
||||||
List<String? Function(String? value)> additionalValidators = const [],
|
List<String? Function(String? value)> super.additionalValidators = const [],
|
||||||
this.required = true,
|
this.required = true,
|
||||||
this.max = 1,
|
this.max = 1,
|
||||||
this.hint,
|
this.hint,
|
||||||
this.password = false,
|
this.password = false,
|
||||||
this.textInputType})
|
this.textInputType});
|
||||||
: super(key,
|
|
||||||
label: label,
|
|
||||||
belowWidgets: belowWidgets,
|
|
||||||
defaultValue: defaultValue,
|
|
||||||
additionalValidators: additionalValidators);
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String ensureType(val) {
|
String ensureType(val) {
|
||||||
@@ -54,18 +49,14 @@ class GeneratedFormDropdown extends GeneratedFormItem {
|
|||||||
List<String>? disabledOptKeys;
|
List<String>? disabledOptKeys;
|
||||||
|
|
||||||
GeneratedFormDropdown(
|
GeneratedFormDropdown(
|
||||||
String key,
|
super.key,
|
||||||
this.opts, {
|
this.opts, {
|
||||||
String label = 'Input',
|
super.label,
|
||||||
List<Widget> belowWidgets = const [],
|
super.belowWidgets,
|
||||||
String defaultValue = '',
|
String super.defaultValue = '',
|
||||||
this.disabledOptKeys,
|
this.disabledOptKeys,
|
||||||
List<String? Function(String? value)> additionalValidators = const [],
|
List<String? Function(String? value)> super.additionalValidators = const [],
|
||||||
}) : super(key,
|
});
|
||||||
label: label,
|
|
||||||
belowWidgets: belowWidgets,
|
|
||||||
defaultValue: defaultValue,
|
|
||||||
additionalValidators: additionalValidators);
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String ensureType(val) {
|
String ensureType(val) {
|
||||||
@@ -75,16 +66,12 @@ class GeneratedFormDropdown extends GeneratedFormItem {
|
|||||||
|
|
||||||
class GeneratedFormSwitch extends GeneratedFormItem {
|
class GeneratedFormSwitch extends GeneratedFormItem {
|
||||||
GeneratedFormSwitch(
|
GeneratedFormSwitch(
|
||||||
String key, {
|
super.key, {
|
||||||
String label = 'Input',
|
super.label,
|
||||||
List<Widget> belowWidgets = const [],
|
super.belowWidgets,
|
||||||
bool defaultValue = false,
|
bool super.defaultValue = false,
|
||||||
List<String? Function(bool value)> additionalValidators = const [],
|
List<String? Function(bool value)> super.additionalValidators = const [],
|
||||||
}) : super(key,
|
});
|
||||||
label: label,
|
|
||||||
belowWidgets: belowWidgets,
|
|
||||||
defaultValue: defaultValue,
|
|
||||||
additionalValidators: additionalValidators);
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
bool ensureType(val) {
|
bool ensureType(val) {
|
||||||
@@ -98,22 +85,17 @@ class GeneratedFormTagInput extends GeneratedFormItem {
|
|||||||
late WrapAlignment alignment;
|
late WrapAlignment alignment;
|
||||||
late String emptyMessage;
|
late String emptyMessage;
|
||||||
late bool showLabelWhenNotEmpty;
|
late bool showLabelWhenNotEmpty;
|
||||||
GeneratedFormTagInput(String key,
|
GeneratedFormTagInput(super.key,
|
||||||
{String label = 'Input',
|
{super.label,
|
||||||
List<Widget> belowWidgets = const [],
|
super.belowWidgets,
|
||||||
Map<String, MapEntry<int, bool>> defaultValue = const {},
|
Map<String, MapEntry<int, bool>> super.defaultValue = const {},
|
||||||
List<String? Function(Map<String, MapEntry<int, bool>> value)>
|
List<String? Function(Map<String, MapEntry<int, bool>> value)>
|
||||||
additionalValidators = const [],
|
super.additionalValidators = const [],
|
||||||
this.deleteConfirmationMessage,
|
this.deleteConfirmationMessage,
|
||||||
this.singleSelect = false,
|
this.singleSelect = false,
|
||||||
this.alignment = WrapAlignment.start,
|
this.alignment = WrapAlignment.start,
|
||||||
this.emptyMessage = 'Input',
|
this.emptyMessage = 'Input',
|
||||||
this.showLabelWhenNotEmpty = true})
|
this.showLabelWhenNotEmpty = true});
|
||||||
: super(key,
|
|
||||||
label: label,
|
|
||||||
belowWidgets: belowWidgets,
|
|
||||||
defaultValue: defaultValue,
|
|
||||||
additionalValidators: additionalValidators);
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Map<String, MapEntry<int, bool>> ensureType(val) {
|
Map<String, MapEntry<int, bool>> ensureType(val) {
|
||||||
|
@@ -19,7 +19,7 @@ import 'package:easy_localization/src/easy_localization_controller.dart';
|
|||||||
// ignore: implementation_imports
|
// ignore: implementation_imports
|
||||||
import 'package:easy_localization/src/localization.dart';
|
import 'package:easy_localization/src/localization.dart';
|
||||||
|
|
||||||
const String currentVersion = '0.14.33';
|
const String currentVersion = '0.14.34';
|
||||||
const String currentReleaseTag =
|
const String currentReleaseTag =
|
||||||
'v$currentVersion-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES
|
'v$currentVersion-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES
|
||||||
|
|
||||||
|
@@ -486,7 +486,7 @@ class _AddAppPageState extends State<AddAppPage> {
|
|||||||
: TextDecoration.none,
|
: TextDecoration.none,
|
||||||
fontStyle: FontStyle.italic),
|
fontStyle: FontStyle.italic),
|
||||||
)))
|
)))
|
||||||
.toList()
|
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
|
@@ -503,7 +503,7 @@ class AppsPageState extends State<AppsPage> {
|
|||||||
.entries
|
.entries
|
||||||
.map((e) =>
|
.map((e) =>
|
||||||
((e.key / (listedApps[index].app.categories.length - 1))))
|
((e.key / (listedApps[index].app.categories.length - 1))))
|
||||||
.toList(),
|
,
|
||||||
1
|
1
|
||||||
];
|
];
|
||||||
if (stops.length == 2) {
|
if (stops.length == 2) {
|
||||||
@@ -522,7 +522,7 @@ class AppsPageState extends State<AppsPage> {
|
|||||||
.map((e) =>
|
.map((e) =>
|
||||||
Color(settingsProvider.categories[e] ?? transparent)
|
Color(settingsProvider.categories[e] ?? transparent)
|
||||||
.withAlpha(255))
|
.withAlpha(255))
|
||||||
.toList(),
|
,
|
||||||
Color(transparent)
|
Color(transparent)
|
||||||
])),
|
])),
|
||||||
child: ListTile(
|
child: ListTile(
|
||||||
@@ -984,7 +984,7 @@ class AppsPageState extends State<AppsPage> {
|
|||||||
...sourceProvider.sources
|
...sourceProvider.sources
|
||||||
.map((e) =>
|
.map((e) =>
|
||||||
MapEntry(e.runtimeType.toString(), e.name))
|
MapEntry(e.runtimeType.toString(), e.name))
|
||||||
.toList()
|
|
||||||
])
|
])
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
@@ -440,7 +440,7 @@ class _ImportExportPageState extends State<ImportExportPage> {
|
|||||||
child: Text(
|
child: Text(
|
||||||
tr('searchX', args: [source.name])))
|
tr('searchX', args: [source.name])))
|
||||||
]))
|
]))
|
||||||
.toList(),
|
,
|
||||||
...sourceProvider.massUrlSources
|
...sourceProvider.massUrlSources
|
||||||
.map((source) => Column(
|
.map((source) => Column(
|
||||||
crossAxisAlignment:
|
crossAxisAlignment:
|
||||||
@@ -456,7 +456,7 @@ class _ImportExportPageState extends State<ImportExportPage> {
|
|||||||
child: Text(
|
child: Text(
|
||||||
tr('importX', args: [source.name])))
|
tr('importX', args: [source.name])))
|
||||||
]))
|
]))
|
||||||
.toList(),
|
,
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
const Divider(
|
const Divider(
|
||||||
height: 32,
|
height: 32,
|
||||||
@@ -518,7 +518,7 @@ class _ImportErrorDialogState extends State<ImportErrorDialog> {
|
|||||||
style: const TextStyle(fontStyle: FontStyle.italic),
|
style: const TextStyle(fontStyle: FontStyle.italic),
|
||||||
)
|
)
|
||||||
]);
|
]);
|
||||||
}).toList()
|
})
|
||||||
]),
|
]),
|
||||||
actions: [
|
actions: [
|
||||||
TextButton(
|
TextButton(
|
||||||
|
@@ -17,7 +17,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
|||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||||
# In Windows, build-name is used as the major, minor, and patch parts
|
# In Windows, build-name is used as the major, minor, and patch parts
|
||||||
# of the product and file versions while build-number is used as the build suffix.
|
# of the product and file versions while build-number is used as the build suffix.
|
||||||
version: 0.14.33+226 # When changing this, update the tag in main() accordingly
|
version: 0.14.34+228 # When changing this, update the tag in main() accordingly
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=3.0.0 <4.0.0'
|
sdk: '>=3.0.0 <4.0.0'
|
||||||
|
Reference in New Issue
Block a user