fix: Re-enable high refresh rate

This commit is contained in:
Anton Stubenbord
2023-02-24 15:08:46 +01:00
parent 347f37af62
commit 378e3ff104

View File

@@ -276,9 +276,9 @@ class _AuthenticationWrapperState extends State<AuthenticationWrapper> {
super.initState();
// Temporary Fix: Can be removed if the flutter engine implements the fix itself
// Activate the highest supported refresh rate on the device
// if (Platform.isAndroid) {
// _setOptimalDisplayMode();
// }
if (Platform.isAndroid) {
_setOptimalDisplayMode();
}
initializeDateFormatting();
// For sharing files coming from outside the app while the app is still opened
ReceiveSharingIntent.getMediaStream()