summaryrefslogtreecommitdiff
path: root/src/ios.m
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-06-14 22:12:19 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-06-14 22:12:19 +0300
commit4bcb7acb840627a197f8e9ed40256fc8ac0a01a9 (patch)
tree1c0c6dbeb0a4b23df83253bf2ad97e9663907139 /src/ios.m
parentacad729245e09d927f1b16de2c6619b84f88c59e (diff)
Mobile: Toolbar color depends on sidebar
Toolbar should reflect the colors of the current view, whether it's a page or the sidebar.
Diffstat (limited to 'src/ios.m')
-rw-r--r--src/ios.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ios.m b/src/ios.m
index b50f4ecb..82a8c0c8 100644
--- a/src/ios.m
+++ b/src/ios.m
@@ -327,7 +327,7 @@ iBool isPhone_iOS(void) {
327} 327}
328 328
329int displayRefreshRate_iOS(void) { 329int displayRefreshRate_iOS(void) {
330 return uiWindow_(get_Window()).screen.maximumFramesPerSecond; 330 return (int) uiWindow_(get_Window()).screen.maximumFramesPerSecond;
331} 331}
332 332
333void setupWindow_iOS(iWindow *window) { 333void setupWindow_iOS(iWindow *window) {