mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-08 10:07:51 -06:00
change to platform guards
This commit is contained in:
@@ -142,12 +142,11 @@ void main() async {
|
||||
appSettingsCubit.stream.listen((event) => languageHeaderInterceptor
|
||||
.preferredLocaleSubtag = event.preferredLocaleSubtag);
|
||||
|
||||
try {
|
||||
|
||||
if (!Platform.isIOS) {
|
||||
// Temporary Fix: Can be removed if the flutter engine implements the fix itself
|
||||
// Activate the highest availabe refresh rate on the device
|
||||
await FlutterDisplayMode.setHighRefreshRate();
|
||||
} catch(e) {
|
||||
print("Can't set high refresh rate");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user