add empty view to CustomAlgorithms screen
This commit is contained in:
parent
8948118d5c
commit
6105314f15
2 changed files with 43 additions and 34 deletions
|
@ -11,6 +11,7 @@ import {AlgoItemModel} from 'state/models/feeds/algo/algo-item'
|
|||
const AlgoItem = observer(
|
||||
({item, style}: {item: AlgoItemModel; style?: StyleProp<ViewStyle>}) => {
|
||||
const pal = usePalette('default')
|
||||
|
||||
return (
|
||||
<View style={[styles.container, style]} key={item.data.uri}>
|
||||
<View style={[styles.headerContainer]}>
|
||||
|
@ -19,7 +20,7 @@ const AlgoItem = observer(
|
|||
</View>
|
||||
<View style={[styles.headerTextContainer]}>
|
||||
<Text style={[pal.text, s.bold]}>
|
||||
{item.data.displayName ?? 'Feed name'}
|
||||
{item.data.displayName ? item.data.displayName : 'Feed name'}
|
||||
</Text>
|
||||
<Text style={[pal.textLight, styles.description]}>
|
||||
{item.data.description ??
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue