diff options
| author | Ivan Chen <ivan@tagg.id> | 2021-04-21 13:57:09 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-21 13:57:09 -0400 |
| commit | 4e8e1c0d58424e6b63cfb8470fc0a73c0e6b102b (patch) | |
| tree | 5b2dcc2daffc5b6f4fa2ae2b55c5548a12b6210c /src/components/messages | |
| parent | b556f97a7eae3f9d9fce2d9c5c25f419ba77fa14 (diff) | |
| parent | f902c4938344dd25d82d7d01035476f488db2b24 (diff) | |
Merge pull request #370 from IvanIFChen/tma795-move-create-button
[TMA-795/796] Move create button
Diffstat (limited to 'src/components/messages')
| -rw-r--r-- | src/components/messages/ChannelPreview.tsx | 3 | ||||
| -rw-r--r-- | src/components/messages/ChatHeader.tsx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/components/messages/ChannelPreview.tsx b/src/components/messages/ChannelPreview.tsx index a7a7268a..8bd3a745 100644 --- a/src/components/messages/ChannelPreview.tsx +++ b/src/components/messages/ChannelPreview.tsx @@ -5,6 +5,7 @@ import {TouchableOpacity} from 'react-native-gesture-handler'; import {useStore} from 'react-redux'; import {ChannelPreviewMessengerProps} from 'stream-chat-react-native'; import {ChatContext} from '../../App'; +import {TAGG_LIGHT_BLUE_2} from '../../constants'; import { LocalAttachmentType, LocalChannelType, @@ -89,7 +90,7 @@ const styles = StyleSheet.create({ }, online: { position: 'absolute', - backgroundColor: '#6EE7E7', + backgroundColor: TAGG_LIGHT_BLUE_2, width: normalize(18), height: normalize(18), borderRadius: normalize(18) / 2, diff --git a/src/components/messages/ChatHeader.tsx b/src/components/messages/ChatHeader.tsx index 67a7f1fe..7ddaa7e6 100644 --- a/src/components/messages/ChatHeader.tsx +++ b/src/components/messages/ChatHeader.tsx @@ -5,6 +5,7 @@ import {Text} from 'react-native-animatable'; import {TouchableOpacity} from 'react-native-gesture-handler'; import {useDispatch, useStore} from 'react-redux'; import {ChatContext} from '../../App'; +import {TAGG_LIGHT_BLUE_2} from '../../constants'; import {ScreenType} from '../../types'; import { ChatHeaderHeight, @@ -87,7 +88,7 @@ const styles = StyleSheet.create({ }, online: { position: 'absolute', - backgroundColor: '#6EE7E7', + backgroundColor: TAGG_LIGHT_BLUE_2, width: normalize(16), height: normalize(16), borderRadius: normalize(16) / 2, |
