Skip to content

Commit

Permalink
chore(app): update flutter and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tamslo committed Sep 17, 2024
1 parent aa9605f commit bd8b232
Show file tree
Hide file tree
Showing 6 changed files with 195 additions and 176 deletions.
14 changes: 7 additions & 7 deletions app/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,18 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/url_launcher_ios/ios"

SPEC CHECKSUMS:
device_info_plus: c6fb39579d0f423935b0c9ce7ee2f44b71b9fce6
device_info_plus: 97af1d7e84681a90d0693e63169a5d50e0839a0d
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
flutter_secure_storage: 23fc622d89d073675f2eaa109381aefbcf5a49be
flutter_secure_storage: d33dac7ae2ea08509be337e775f6b59f1ff45f12
flutter_share: 4be0208963c60b537e6255ed2ce1faae61cd9ac2
flutter_web_auth: c25208760459cec375a3c39f6a8759165ca0fa4d
integration_test: 13825b8a9334a850581300559b8839134b124670
package_info_plus: 115f4ad11e0698c8c1c5d8a689390df880f47e85
path_provider_foundation: 3784922295ac71e43754bd15e0653ccfd36a147c
integration_test: 252f60fa39af5e17c3aa9899d35d908a0721b573
package_info_plus: 58f0028419748fad15bf008b270aaa8e54380b1c
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
printing: 233e1b73bd1f4a05615548e9b5a324c98588640b
sensors_plus: 5717760720f7e6acd96fdbd75b7428f5ad755ec2
shared_preferences_foundation: b4c3b4cddf1c21f02770737f147a3f5da9d39695
url_launcher_ios: 6116280ddcfe98ab8820085d8d76ae7449447586
shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78
url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe

PODFILE CHECKSUM: c4c93c5f6502fe2754f48404d3594bf779584011

Expand Down
2 changes: 1 addition & 1 deletion app/ios/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import UIKit
import Flutter

@UIApplicationMain
@main
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
Expand Down
6 changes: 2 additions & 4 deletions app/lib/common/theme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ class PharMeTheme {
static ThemeData get light {
return ThemeData(
colorScheme: ColorScheme(
background: backgroundColor,
brightness: Brightness.light,
error: errorColor,
onBackground: backgroundColor.highEmphasisOnColor,
onError: errorColor.highEmphasisOnColor,
onPrimary: primaryColor.highEmphasisOnColor,
onSecondary: secondaryColor.highEmphasisOnColor,
Expand All @@ -17,8 +15,8 @@ class PharMeTheme {
primaryContainer: primaryContainer,
secondary: secondaryColor,
secondaryContainer: secondaryContainer,
surface: onSurfaceColor,
surfaceVariant: surfaceColor,
surface: surfaceColor,
surfaceContainerHighest: surfaceColor,
),
textTheme: textTheme,
bottomSheetTheme: BottomSheetThemeData(
Expand Down
2 changes: 1 addition & 1 deletion app/lib/common/widgets/full_width_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class FullWidthButton extends StatelessWidget {
onPressed: enabled ? action : null,
style: ButtonStyle(
backgroundColor:
MaterialStateProperty.all<Color>(secondaryColor
WidgetStateProperty.all<Color>(secondaryColor
? PharMeTheme.secondaryColor
: PharMeTheme.primaryColor
),
Expand Down
Loading

0 comments on commit bd8b232

Please sign in to comment.