From bc3e0b398021ec3c12772351bc005b4d21d098f8 Mon Sep 17 00:00:00 2001 From: Brandon Berhent Date: Wed, 30 Aug 2023 14:04:09 -0400 Subject: [PATCH] Upgrades to dependencies, FlatButton migration --- android/app/build.gradle | 13 +- android/app/src/main/AndroidManifest.xml | 7 +- android/build.gradle | 8 +- .../gradle/wrapper/gradle-wrapper.properties | 3 +- ios/Flutter/AppFrameworkInfo.plist | 2 +- ios/Flutter/Flutter.podspec | 18 + ios/Podfile | 2 +- ios/Runner.xcodeproj/project.pbxproj | 42 ++- .../xcshareddata/xcschemes/Runner.xcscheme | 2 +- ios/Runner/Info.plist | 2 + lib/appstate_container.dart | 10 +- lib/network/account_service.dart | 8 +- lib/ui/accounts/accountdetails_sheet.dart | 1 + lib/ui/accounts/accounts_sheet.dart | 3 +- lib/ui/avatar/avatar_change.dart | 1 + lib/ui/contacts/contact_details.dart | 13 +- lib/ui/home_page.dart | 2 +- lib/ui/intro/intro_backup_confirm.dart | 205 ++++++----- lib/ui/intro/intro_backup_safety.dart | 1 + lib/ui/intro/intro_backup_seed.dart | 1 + lib/ui/intro/intro_import_seed.dart | 1 + lib/ui/intro/intro_password.dart | 310 +++++++++-------- lib/ui/intro/intro_password_on_launch.dart | 62 ++-- lib/ui/lock_screen.dart | 1 + lib/ui/password_lock_screen.dart | 1 + lib/ui/popup_button.dart | 1 + lib/ui/send/send_sheet.dart | 11 +- lib/ui/settings/backupseed_sheet.dart | 28 +- .../settings/changerepresentative_sheet.dart | 3 +- ...changerepresentativemanualentry_sheet.dart | 2 +- lib/ui/settings/contacts_widget.dart | 3 +- lib/ui/settings/settings_drawer.dart | 1 + lib/ui/settings/settings_list_item.dart | 17 +- lib/ui/transfer/transfer_confirm_sheet.dart | 156 ++++----- lib/ui/transfer/transfer_overview_sheet.dart | 24 +- lib/ui/widgets/app_text_field.dart | 287 +++++++-------- lib/ui/widgets/buttons.dart | 1 + lib/ui/widgets/dialog.dart | 2 +- lib/ui/widgets/flat_button.dart | 105 ++++++ lib/ui/widgets/outline_button.dart | 3 +- lib/ui/widgets/raised_button.dart | 328 ++++++++++++++++++ lib/ui/widgets/remote_message_card.dart | 1 + lib/util/biometrics.dart | 22 +- lib/util/user_data_util.dart | 21 +- pubspec.yaml | 30 +- 45 files changed, 1157 insertions(+), 608 deletions(-) create mode 100644 ios/Flutter/Flutter.podspec create mode 100644 lib/ui/widgets/flat_button.dart create mode 100644 lib/ui/widgets/raised_button.dart diff --git a/android/app/build.gradle b/android/app/build.gradle index 90856f87..d55c1157 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -34,16 +34,13 @@ if (keystorePropertiesFile.exists()) { } android { - compileSdkVersion 32 + compileSdkVersion 34 - lintOptions { - disable 'InvalidPackage' - } defaultConfig { applicationId "co.banano.natriumwallet" minSdkVersion 19 - targetSdkVersion 32 + targetSdkVersion 34 multiDexEnabled true versionCode flutterVersionCode.toInteger() versionName flutterVersionName @@ -74,11 +71,15 @@ android { } ndk { abiFilters 'armeabi-v7a','arm64-v8a','x86_64' - } + } } } ndkVersion "25.1.8937393" + namespace 'co.banano.natriumwallet' + lint { + disable 'InvalidPackage' + } } flutter { diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index dbea7e59..0f8c651e 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,5 +1,4 @@ - +