diff options
author | Orangerot <purple@orangerot.dev> | 2025-01-07 06:38:34 +0100 |
---|---|---|
committer | Orangerot <purple@orangerot.dev> | 2025-01-07 06:38:34 +0100 |
commit | 9c229b94d0aa52679e12e50d62aa8e6cbf9fb9c5 (patch) | |
tree | c148c6ee4bbf664be3f1a64f9c9501f00b38edf2 /lib/game_over_stats.dart | |
parent | 685323adeab3d27bff4df16a201f9f14688475d5 (diff) |
style: refactored searching files into Simfile class
Diffstat (limited to 'lib/game_over_stats.dart')
-rw-r--r-- | lib/game_over_stats.dart | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/game_over_stats.dart b/lib/game_over_stats.dart index a80617c..0e73024 100644 --- a/lib/game_over_stats.dart +++ b/lib/game_over_stats.dart @@ -50,8 +50,8 @@ class GameOverStats extends StatelessWidget { ]), TextButton( onPressed: () { - Route route = MaterialPageRoute( - builder: (context) => Level(stepmaniaFolderPath: simfile.directoryPath)); + Route route = + MaterialPageRoute(builder: (context) => Level(simfile)); Navigator.pushReplacement(context, route); }, child: Text('Retry')) |