Skip to content

Commit

Permalink
fix: app: respect the option to save logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mytja committed Dec 31, 2024
1 parent 5c6e545 commit de2b170
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tarok/lib/game/game_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1849,6 +1849,7 @@ class GameController extends GetxController {

Future<void> saveGameLog() async {
if (kIsWeb) return;
if (!SAVE_GAME_LOGS) return;
var directory = await getApplicationDocumentsDirectory();
directory = Directory("${directory.path}/PalckaGames");
await directory.create();
Expand Down

0 comments on commit de2b170

Please sign in to comment.