From 0a0a249b7a1cec57565f0d2009ec2cf4989c2076 Mon Sep 17 00:00:00 2001 From: salvadordeveloper Date: Mon, 21 Feb 2022 10:15:44 -0700 Subject: [PATCH] Package settings_ui updated --- ios/Podfile.lock | 4 ++-- ios/Runner.xcodeproj/project.pbxproj | 8 +++---- .../xcshareddata/xcschemes/Runner.xcscheme | 2 +- lib/ui/screens/settings.dart | 22 +++++++++---------- pubspec.yaml | 2 +- 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 468d9fb..8dfccbb 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -26,9 +26,9 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a flutter_secure_storage: 7953c38a04c3fdbb00571bcd87d8e3b5ceb9daec - integration_test: 7db6d89f336f671dcbc7563ee27a5b08f6f8aee1 + integration_test: a1e7d09bd98eca2fc37aefd79d4f41ad37bdbbe5 shared_preferences: af6bfa751691cdc24be3045c43ec037377ada40d PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c -COCOAPODS: 1.10.1 +COCOAPODS: 1.10.2 diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 71e937f..25f60cc 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -155,7 +155,7 @@ 97C146E61CF9000F007C117D /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1020; + LastUpgradeCheck = 1300; ORGANIZATIONNAME = ""; TargetAttributes = { 97C146ED1CF9000F007C117D = { @@ -355,7 +355,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = M63FJ72T54; + DEVELOPMENT_TEAM = 96WDB89F88; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -492,7 +492,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = M63FJ72T54; + DEVELOPMENT_TEAM = 96WDB89F88; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -523,7 +523,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = M63FJ72T54; + DEVELOPMENT_TEAM = 96WDB89F88; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", diff --git a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index a28140c..3db53b6 100644 --- a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ showLenguageSelectionDialog( @@ -47,30 +47,30 @@ class SettingScreen extends HookConsumerWidget { ], ), SettingsSection( - title: LocaleKeys.dataSection.tr(), + title: Text(LocaleKeys.dataSection.tr()), tiles: [ SettingsTile( - title: LocaleKeys.exchange.tr(), - subtitle: details.favoriteExchange, + title: Text(LocaleKeys.exchange.tr()), + value: Text(details.favoriteExchange), leading: Icon(Icons.graphic_eq), onPressed: (BuildContext context) => showExchangeSelectDialog( context, ref, exchanges), ), SettingsTile( - title: LocaleKeys.topPair.tr(), - subtitle: details.favoritePair, + title: Text(LocaleKeys.topPair.tr()), + value: Text(details.favoritePair), leading: Icon(Icons.language), onPressed: (BuildContext context) => showTopPairSelectDialog(context, ref, pairs)), ], ), SettingsSection( - title: LocaleKeys.designSection.tr(), + title: Text(LocaleKeys.designSection.tr()), tiles: [ SettingsTile( - title: LocaleKeys.appTheme.tr(), - subtitle: details.themeMode, + title: Text(LocaleKeys.appTheme.tr()), + value: Text(details.themeMode), leading: Icon(Icons.graphic_eq), onPressed: (BuildContext context) => showThemeSelectDialog( diff --git a/pubspec.yaml b/pubspec.yaml index 5194442..d678d0d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -29,7 +29,7 @@ dependencies: dio: ^4.0.0 flutter_dotenv: ^5.0.0 fl_chart: ^0.36.1 - settings_ui: ^1.0.0 + settings_ui: ^2.0.2 auto_size_text: ^3.0.0-nullsafety.0 flutter_secure_storage: ^4.1.0 easy_localization: ^3.0.0