Allow any device rotation

This commit is contained in:
Elias Müller 2023-07-06 22:58:15 +02:00
parent 3cb3e12c94
commit 58b1551f88

View File

@ -62,8 +62,6 @@ class _MainState extends State<Main> {
void initState() {
Jiffy.setLocale("de");
SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp, DeviceOrientation.portraitDown]);
AccountData().waitForPopulation().then((value) {
Provider.of<AccountModel>(context, listen: false)
.setState(value ? AccountModelState.loggedIn : AccountModelState.loggedOut);