Allow any device rotation
This commit is contained in:
1 parent
3cb3e12c94
commit
58b1551f88
1 file changed
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user