From 3d781b268d55718e6365d3f238a65a68778469f1 Mon Sep 17 00:00:00 2001 From: iqfareez <60868965+iqfareez@users.noreply.github.com> Date: Fri, 11 Oct 2024 05:59:36 +0800 Subject: [PATCH] :bookmark: Release version 2.12.6+151 Fix deprecated members --- lib/main.dart | 2 +- lib/views/prayer_time_view.dart | 2 +- pubspec.yaml | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 8dec4a3..28c28a1 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -168,7 +168,7 @@ class MyHomePage extends StatelessWidget { style: GoogleFonts.balooTamma2(fontWeight: FontWeight.bold)), elevation: 0.0, backgroundColor: Theme.of(context).colorScheme.primary, - foregroundColor: Theme.of(context).colorScheme.background, + foregroundColor: Theme.of(context).colorScheme.surface, centerTitle: true, toolbarHeight: 50, ), diff --git a/lib/views/prayer_time_view.dart b/lib/views/prayer_time_view.dart index 20a530f..c9f5ac5 100644 --- a/lib/views/prayer_time_view.dart +++ b/lib/views/prayer_time_view.dart @@ -174,7 +174,7 @@ class SolatCard extends StatelessWidget { child: Card( clipBehavior: Clip.hardEdge, child: InkWell( - splashColor: Theme.of(context).colorScheme.surfaceVariant, + splashColor: Theme.of(context).colorScheme.surfaceContainerHighest, onLongPress: () => Clipboard.setData(ClipboardData( text: '$name: ${time.format(value.use12hour)}')) .then((value) { diff --git a/pubspec.yaml b/pubspec.yaml index b66b347..91d4d51 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,8 +3,7 @@ description: App waktu solat seluruh Malaysia publish_to: "none" # Remove this line if you wish to publish to pub.dev -# After update this value, check the flutter version in the [environment.flutter] -version: 2.12.5+150 +version: 2.12.6+151 environment: sdk: ">=3.0.0 <4.0.0"