Skip to content

Commit 124f52f

Browse files
Dylan Companjensatya164
authored andcommitted
fix: change the keyboard appearance according to theme (#593)
If the dark theme is active, currently there is still a light keyboard shown (iOS).
1 parent aed0bfd commit 124f52f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/Searchbar.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ class Searchbar extends React.Component<Props> {
156156
selectionColor={colors.primary}
157157
underlineColorAndroid="transparent"
158158
returnKeyType="search"
159+
keyboardAppearance={dark ? 'dark' : 'light'}
159160
accessibilityTraits="search"
160161
accessibilityRole="search"
161162
ref={c => {

0 commit comments

Comments
 (0)