Allow any device rotation
This commit is contained in:
parent
3cb3e12c94
commit
58b1551f88
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user