Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Jan 22, 2025
1 parent fb7ced0 commit a6c829f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion app/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ android {

defaultConfig {
applicationId "dev.linwood.flow"
minSdkVersion 21
minSdkVersion 23
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand Down
2 changes: 1 addition & 1 deletion app/android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=57dafb5c2622c6cc08b993c85b7c06956a2f53536432a30ead46166dbca0f1e9
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
2 changes: 1 addition & 1 deletion app/android/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pluginManagement {

plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version '8.7.2' apply false
id "com.android.application" version '8.8.0' apply false
id "org.jetbrains.kotlin.android" version "2.0.21" apply false
}

Expand Down
20 changes: 8 additions & 12 deletions app/lib/api/storage/remote/model.mapper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,10 @@ class CalDavStorageMapper extends ClassMapperBase<CalDavStorage> {
final String id = 'CalDavStorage';

static String _$url(CalDavStorage v) => v.url;
static const Field<CalDavStorage, String> _f$url =
Field('url', _$url, opt: true);
static const Field<CalDavStorage, String> _f$url = Field('url', _$url);
static String _$username(CalDavStorage v) => v.username;
static const Field<CalDavStorage, String> _f$username =
Field('username', _$username, opt: true);
Field('username', _$username);

@override
final MappableFields<CalDavStorage> fields = const {
Expand Down Expand Up @@ -194,11 +193,10 @@ class ICalStorageMapper extends ClassMapperBase<ICalStorage> {
final String id = 'ICalStorage';

static String _$url(ICalStorage v) => v.url;
static const Field<ICalStorage, String> _f$url =
Field('url', _$url, opt: true);
static const Field<ICalStorage, String> _f$url = Field('url', _$url);
static String _$username(ICalStorage v) => v.username;
static const Field<ICalStorage, String> _f$username =
Field('username', _$username, opt: true);
Field('username', _$username);

@override
final MappableFields<ICalStorage> fields = const {
Expand Down Expand Up @@ -304,11 +302,10 @@ class WebDavStorageMapper extends ClassMapperBase<WebDavStorage> {
final String id = 'WebDavStorage';

static String _$url(WebDavStorage v) => v.url;
static const Field<WebDavStorage, String> _f$url =
Field('url', _$url, opt: true);
static const Field<WebDavStorage, String> _f$url = Field('url', _$url);
static String _$username(WebDavStorage v) => v.username;
static const Field<WebDavStorage, String> _f$username =
Field('username', _$username, opt: true);
Field('username', _$username);

@override
final MappableFields<WebDavStorage> fields = const {
Expand Down Expand Up @@ -417,11 +414,10 @@ class SiaStorageMapper extends ClassMapperBase<SiaStorage> {
final String id = 'SiaStorage';

static String _$url(SiaStorage v) => v.url;
static const Field<SiaStorage, String> _f$url =
Field('url', _$url, opt: true);
static const Field<SiaStorage, String> _f$url = Field('url', _$url);
static String _$username(SiaStorage v) => v.username;
static const Field<SiaStorage, String> _f$username =
Field('username', _$username, opt: true);
Field('username', _$username);

@override
final MappableFields<SiaStorage> fields = const {
Expand Down
2 changes: 2 additions & 0 deletions metadata/en-US/changelogs/9.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
* Fix docker file
* Convert data classes to dart_mappable
* Upgrade to flutter 3.27
* Use minSdkVersion 23 instead of 21 (The minimum version of android is 6.0 (Marshmallow))
* Update to agb 8.8

Read more here: https://linwood.dev/flow/0.3.2

0 comments on commit a6c829f

Please sign in to comment.