From 5f82c4ddae84f84265ffdb1a99a6b26edc1ab364 Mon Sep 17 00:00:00 2001 From: Dylan Hall Date: Wed, 26 Jun 2024 10:16:45 +1000 Subject: [PATCH] minor hint tidy --- lib/game_state_manager.dart | 1 - lib/main_game_page.dart | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/game_state_manager.dart b/lib/game_state_manager.dart index 039cd64..146a9fb 100644 --- a/lib/game_state_manager.dart +++ b/lib/game_state_manager.dart @@ -13,7 +13,6 @@ class GameStateManager extends ChangeNotifier { late final Player _player; final ValueNotifier themeNotifier; String lettersToAttempt = ''; - int hintLevel = 0; bool isSortAlphabetical = false; void toggleSort() { diff --git a/lib/main_game_page.dart b/lib/main_game_page.dart index b36a22d..32b22ef 100644 --- a/lib/main_game_page.dart +++ b/lib/main_game_page.dart @@ -656,6 +656,7 @@ class _MainGamePageState extends State with SingleTickerProviderSt onPressed: () async { setState(() { _pageState = PageState.playing; + _hintLevelNotifier.value = 1; }); await widget.gameStateManager.loadPracticeGame(); },