summaryrefslogtreecommitdiff
path: root/src/ios.m
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-12-09 08:31:05 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-12-09 08:31:05 +0200
commit8e445f3c0c35eae785e933d380142e2971639960 (patch)
tree97613c4addcc4efb89fc0a3fd06b85b97432a61e /src/ios.m
parentef2387aa3564cb010307591a7b446807f14ff021 (diff)
iOS: Use accent color in input fields
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 021e354d..2705a350 100644
--- a/src/ios.m
+++ b/src/ios.m
@@ -748,7 +748,7 @@ void init_SystemTextInput(iSystemTextInput *d, iRect rect, int flags) {
748 } 748 }
749 UIColor *textColor = makeUIColor_(uiInputTextFocused_ColorId); 749 UIColor *textColor = makeUIColor_(uiInputTextFocused_ColorId);
750 UIColor *backgroundColor = makeUIColor_(uiInputBackgroundFocused_ColorId); 750 UIColor *backgroundColor = makeUIColor_(uiInputBackgroundFocused_ColorId);
751 UIColor *tintColor = makeUIColor_(uiInputCursor_ColorId); 751 UIColor *tintColor = makeUIColor_(uiInputFrameHover_ColorId); /* use the accent color */ //uiInputCursor_ColorId);
752 [appState_ setSystemTextInput:d]; 752 [appState_ setSystemTextInput:d];
753 if (d->field) { 753 if (d->field) {
754 UITextField *field = REF_d_field; 754 UITextField *field = REF_d_field;