Skip to content

Commit

Permalink
Merge pull request #6 from KizKizz/backend-rework
Browse files Browse the repository at this point in the history
Backend rework
  • Loading branch information
KizKizz authored Jun 26, 2022
2 parents 275ec1b + 61b6487 commit 10f55bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions lib/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2529,7 +2529,7 @@ class _HomePageState extends State<HomePage> 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(() {
Expand All @@ -2544,10 +2544,10 @@ class _HomePageState extends State<HomePage> 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
Expand Down
4 changes: 2 additions & 2 deletions windows/runner/Runner.rc
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ 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
#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
Expand Down

0 comments on commit 10f55bd

Please sign in to comment.