fix: Bookmark icon not visible (Closes #227)

This commit is contained in:
Rajarshee Chatterjee
2022-04-17 09:19:58 +05:30
parent 0388ec4f7e
commit 5e2152ad0d
@@ -65,7 +65,7 @@ const ReaderAppbar = ({
)}
<IconButtonV2
icon={bookmarked ? 'bookmark' : 'bookmark-outline'}
name={bookmarked ? 'bookmark' : 'bookmark-outline'}
size={24}
onPress={() => {
dispatch(bookmarkChapterAction([{ bookmark, chapterId }]));
@@ -73,6 +73,7 @@ const ReaderAppbar = ({
}}
color={theme.textColorPrimary}
theme={theme}
style={styles.bookmark}
/>
</Appbar.Header>
</View>
@@ -97,4 +98,7 @@ const styles = StyleSheet.create({
backgroundColor: 'transparent',
elevation: 0,
},
bookmark: {
marginRight: 4,
},
});