mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 00:17:48 +01:00
Fun "dart fix"
This commit is contained in:
@@ -103,7 +103,7 @@ class GithubReleases {
|
||||
if (releases.isNotEmpty || canBeEmpty) {
|
||||
_releases = releases;
|
||||
} else {
|
||||
throw Exception("Github must contain at least 1 release.");
|
||||
throw Exception('Github must contain at least 1 release.');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -223,7 +223,7 @@ class FlatpakMeta {
|
||||
final releases = List<Release>.empty(growable: true);
|
||||
if (addedTodaysVersion != null) {
|
||||
releases.add(Release(
|
||||
version: addedTodaysVersion, date: DateTime.now().toIso8601String().split("T").first));
|
||||
version: addedTodaysVersion, date: DateTime.now().toIso8601String().split('T').first));
|
||||
}
|
||||
if (fetchReleasesFromGithub) {
|
||||
if (_githubReleases == null) {
|
||||
|
||||
Reference in New Issue
Block a user