mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-10 08:07:59 -06:00
Update platform guard to only include androids
This commit is contained in:
@@ -143,7 +143,7 @@ void main() async {
|
|||||||
.preferredLocaleSubtag = event.preferredLocaleSubtag);
|
.preferredLocaleSubtag = event.preferredLocaleSubtag);
|
||||||
|
|
||||||
|
|
||||||
if (!Platform.isIOS) {
|
if (Platform.isAndroid) {
|
||||||
// Temporary Fix: Can be removed if the flutter engine implements the fix itself
|
// Temporary Fix: Can be removed if the flutter engine implements the fix itself
|
||||||
// Activate the highest availabe refresh rate on the device
|
// Activate the highest availabe refresh rate on the device
|
||||||
await FlutterDisplayMode.setHighRefreshRate();
|
await FlutterDisplayMode.setHighRefreshRate();
|
||||||
|
|||||||
Reference in New Issue
Block a user