From 8915a6cc3b39241936761f5fc141d949d4066d83 Mon Sep 17 00:00:00 2001 From: KizKizz <101075148+KizKizz@users.noreply.github.com> Date: Sun, 26 Jun 2022 13:08:57 -0700 Subject: [PATCH 1/2] bug fix --- lib/home_page.dart | 6 +++--- windows/runner/Runner.rc | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/home_page.dart b/lib/home_page.dart index 22c75147..a06c2969 100644 --- a/lib/home_page.dart +++ b/lib/home_page.dart @@ -2529,7 +2529,7 @@ class _HomePageState extends State with TickerProviderStateMixin { textStyle: TextStyle(fontSize: 15, color: Theme.of(context).canvasColor), waitDuration: const Duration(seconds: 1), child: MaterialButton( - onLongPress: appliedModsList.isEmpty + onLongPress: appliedModsList.isEmpty || totalAppliedItems < 1 ? null : (() { setState(() { @@ -2544,10 +2544,10 @@ class _HomePageState extends State with TickerProviderStateMixin { isPreviewVidOn = false; }); }), - onPressed: appliedModsList.isEmpty ? null : () {}, + onPressed: appliedModsList.isEmpty || totalAppliedItems < 1 ? null : () {}, child: Icon( Icons.remove_from_queue, - color: appliedModsList.isEmpty + color: totalAppliedItems < 1 ? Theme.of(context).disabledColor : MyApp.themeNotifier.value == ThemeMode.light ? Theme.of(context).primaryColorDark diff --git a/windows/runner/Runner.rc b/windows/runner/Runner.rc index 9ab5b4e7..d3f5a0c0 100644 --- a/windows/runner/Runner.rc +++ b/windows/runner/Runner.rc @@ -69,7 +69,7 @@ IDI_APP_ICON ICON "resources\\app_icon.ico" #ifdef FLUTTER_BUILD_NAME #define VERSION_AS_STRING #FLUTTER_BUILD_NAME #else -#define VERSION_AS_STRING "1.1.0" +#define VERSION_AS_STRING "1.1.1" #endif VS_VERSION_INFO VERSIONINFO From 61b6487ca19c0bc3d417981d7a4f61828ab9425d Mon Sep 17 00:00:00 2001 From: KizKizz <101075148+KizKizz@users.noreply.github.com> Date: Sun, 26 Jun 2022 13:10:22 -0700 Subject: [PATCH 2/2] bug fix --- windows/runner/Runner.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/runner/Runner.rc b/windows/runner/Runner.rc index d3f5a0c0..78315a94 100644 --- a/windows/runner/Runner.rc +++ b/windows/runner/Runner.rc @@ -63,7 +63,7 @@ IDI_APP_ICON ICON "resources\\app_icon.ico" #ifdef FLUTTER_BUILD_NUMBER #define VERSION_AS_NUMBER FLUTTER_BUILD_NUMBER #else -#define VERSION_AS_NUMBER 1,0,0 +#define VERSION_AS_NUMBER 1,1,1 #endif #ifdef FLUTTER_BUILD_NAME