ios screen fix ?

This commit is contained in:
ryleedavis 2022-11-28 21:39:26 -07:00
parent 1aca715397
commit 692a71f94e

View file

@ -77,7 +77,7 @@ void main() async {
}
Screen? screen;
if (Platform.isLinux || Util.isDesktop) {
if (Platform.isLinux || Platform.isIOS || Util.isDesktop) {
screen = await getCurrentScreen();
Util.screenWidth = screen?.frame.width;
}