Skip to content

Commit

Permalink
- updated ios project
Browse files Browse the repository at this point in the history
  • Loading branch information
ps9310 committed Jun 10, 2024
1 parent bc7397f commit d0e36e6
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 24 deletions.
2 changes: 1 addition & 1 deletion example/ios/Flutter/AppFrameworkInfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>11.0</string>
<string>12.0</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion example/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
# platform :ios, '11.0'
# platform :ios, '12.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down
23 changes: 18 additions & 5 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,18 @@ PODS:
- shared_preferences_foundation (0.0.1):
- Flutter
- FlutterMacOS
- sqflite (0.0.3):
- Flutter
- FlutterMacOS
- url_launcher_ios (0.0.1):
- Flutter

DEPENDENCIES:
- Flutter (from `Flutter`)
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
- sqflite (from `.symlinks/plugins/sqflite/darwin`)
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)

EXTERNAL SOURCES:
Flutter:
Expand All @@ -19,12 +26,18 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/path_provider_foundation/darwin"
shared_preferences_foundation:
:path: ".symlinks/plugins/shared_preferences_foundation/darwin"
sqflite:
:path: ".symlinks/plugins/sqflite/darwin"
url_launcher_ios:
:path: ".symlinks/plugins/url_launcher_ios/ios"

SPEC CHECKSUMS:
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78
sqflite: 673a0e54cc04b7d6dba8d24fb8095b31c3a99eec
url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe

PODFILE CHECKSUM: ef19549a9bc3046e7bb7d2fab4d021637c0c58a3
PODFILE CHECKSUM: c4c93c5f6502fe2754f48404d3594bf779584011

COCOAPODS: 1.14.3
COCOAPODS: 1.15.2
8 changes: 4 additions & 4 deletions example/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
97C146E61CF9000F007C117D /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1430;
LastUpgradeCheck = 1510;
ORGANIZATIONNAME = "";
TargetAttributes = {
97C146ED1CF9000F007C117D = {
Expand Down Expand Up @@ -343,7 +343,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
Expand Down Expand Up @@ -421,7 +421,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -470,7 +470,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1430"
LastUpgradeVersion = "1510"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
6 changes: 3 additions & 3 deletions example/lib/utils/theme_color_switch.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ class ZetaThemeColorSwitch extends StatelessWidget {
return DropdownMenuItem<String>(
value: e.value.identifier,
alignment: Alignment.center,
child: CircleAvatar(
child: ZetaAvatar(
size: ZetaAvatarSize.xxs,
backgroundColor: color.surface,
foregroundColor: color,
child: Icon(Icons.color_lens, color: color),
image: Icon(Icons.color_lens, color: color),
),
);
}).toList(),
Expand Down
12 changes: 7 additions & 5 deletions example/lib/utils/theme_constrast_switch.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,14 @@ class ZetaThemeContrastSwitch extends StatelessWidget {
return DropdownMenuItem<ZetaContrast>(
value: e,
alignment: Alignment.center,
child: CircleAvatar(
child: ZetaAvatar(
size: ZetaAvatarSize.xxs,
backgroundColor: colors.primary.surface,
foregroundColor: colors.primary,
child: Text(
e == ZetaContrast.aa ? 'AA' : 'AAA',
style: ZetaTextStyles.bodyMedium.copyWith(color: colors.primary, fontWeight: FontWeight.w700),
image: Center(
child: Text(
e == ZetaContrast.aa ? 'AA' : 'AAA',
style: ZetaTextStyles.bodyMedium.copyWith(color: colors.primary, fontWeight: FontWeight.w700),
),
),
),
);
Expand Down
6 changes: 3 additions & 3 deletions example/lib/utils/theme_mode_switch.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ class ZetaThemeModeSwitch extends StatelessWidget {
return DropdownMenuItem<ThemeMode>(
value: e,
alignment: Alignment.center,
child: CircleAvatar(
child: ZetaAvatar(
size: ZetaAvatarSize.xxs,
backgroundColor: colors.primary.surface,
foregroundColor: colors.primary,
child: Icon(
image: Icon(
e == ThemeMode.system
? Icons.system_security_update_good
: e == ThemeMode.light
Expand Down
2 changes: 1 addition & 1 deletion lib/src/zeta_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class ZetaProviderState extends State<ZetaProvider> with Diagnosticable, Widgets
Timer? _debounceTimer;

/// Represents the duration for the debounce timer.
static const _debounceDuration = Duration(milliseconds: 500);
static const _debounceDuration = Duration(milliseconds: 250);

/// This method is called when this object is inserted into the tree.
///
Expand Down

0 comments on commit d0e36e6

Please sign in to comment.