iiumschedule / iium_schedule

Make/Generate IIUM timetable with ease. Integration with IIUM database. App available on Android, MacOS & Windows.
https://iiumschedule.iqfareez.com
MIT License
25 stars 9 forks source link

🐛 Capped refresh rate bug #58

Closed ElyasAsmad closed 1 year ago

ElyasAsmad commented 1 year ago

Description

For certain devices, (i.e. OnePlus 9), Flutter locks the frame per second (FPS) of all Flutter applications at 60fps eventhough OnePlus 9 has maximum refresh rate of 120hz. This pull request overcomes the problem by instructing the operating system to use the highest available frame rate for this particular application.

Refer https://github.com/flutter/flutter/issues/35162

Type of Change

Screenshots

Note: The current frame per second (FPS) is shown at the top left corner of the screenshot.

Other Information

Type Value
Device OnePlus 9 (LE2115)
OS OxygenOS 13 (Android 13 - Tiramisu)
App Version 1.0.3
iqfareez commented 1 year ago

I see. Thanks for the fix! 👍

iqfareez commented 1 year ago

@all-contributors add @ElyasAsmad for code, design

allcontributors[bot] commented 1 year ago

@iqfareez

I've put up a pull request to add @ElyasAsmad! :tada: