luc sitzung
This commit is contained in:
@@ -19,6 +19,8 @@ void main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
SharedPreferences prefs = await SharedPreferences.getInstance();
|
||||
bool isFirstLaunch = prefs.getBool('isFirstLaunch') ?? true;
|
||||
await prefs.setString('kTage1', "28");
|
||||
await prefs.setString('kTage2', "48");
|
||||
runApp(MyApp(isFirstLaunch: isFirstLaunch));
|
||||
}
|
||||
|
||||
@@ -26,6 +28,8 @@ class MyApp extends StatelessWidget {
|
||||
final bool isFirstLaunch;
|
||||
const MyApp({super.key, required this.isFirstLaunch});
|
||||
|
||||
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp(
|
||||
|
||||
Reference in New Issue
Block a user