I’m trying to add some cutom styling to the GroupListChannelFragment via a custom theme with no success. I’ve tried pushing through flatListProps and applying directly, annoyingly the background of the FlatList just keeps using the default theme background rather than my custom theme background.
I’ve tried renderGroupChannelPreview but i’d prefer to use the default List
Any help would be approciated
<GroupChannelListFragment
channelListQueryParams={{
includeEmpty: true,
customTypesFilter: [
//various scopes here
],
}}
onPressCreateChannel={handlePressCreateChannel}
onPressChannel={handlePressChannel}
flatListProps={{
style: {
backgroundColor: 'red',
paddingTop: 10,
paddingBottom: 10,
},
contentContainerStyle: {
backgroundColor: 'pink', //this doesn't actually work
},
}}
/>
custom theme is pushed through the SenbirdUIKitContainer as follows
<SendbirdUIKitContainer
// all sorts of props
styles={{
defaultHeaderTitleAlign: 'left',
theme: isLightTheme ? CustomDarkTheme : CustomDarkTheme,
}}
>