Skip to content

Commit db2a07c

Browse files
committed
chore: update background color of uikit local config screen
1 parent 6993f29 commit db2a07c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

sample/src/screens/UIKitLocalConfigsScreen.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
import React, { useContext } from 'react';
22
import { I18nManager, Pressable, ScrollView, View } from 'react-native';
33

4-
import { Icon, Switch, Text } from '@sendbird/uikit-react-native-foundation';
4+
import { Icon, Switch, Text, useUIKitTheme } from '@sendbird/uikit-react-native-foundation';
55

66
import { UIKitLocalConfigsContext } from '../context/uikitLocalConfigs';
77

88
const Divider = () => <View style={{ height: 1, backgroundColor: '#dcdcdc' }} />;
99

1010
const UIKitLocalConfigsScreen = () => {
1111
const { localConfigs, setLocalConfigs } = useContext(UIKitLocalConfigsContext);
12+
const { colors } = useUIKitTheme();
1213
return (
1314
<ScrollView
14-
style={{ backgroundColor: 'white' }}
15+
style={{ backgroundColor: colors.background }}
1516
contentContainerStyle={{
1617
flexGrow: 1,
1718
paddingHorizontal: 16,
1819
paddingVertical: 12,
1920
gap: 20,
20-
backgroundColor: 'white',
21+
backgroundColor: colors.background,
2122
}}
2223
>
2324
<Switchable

0 commit comments

Comments
 (0)