diff --git a/src/screens/library/LibraryScreen.tsx b/src/screens/library/LibraryScreen.tsx index 672f457b..577e433b 100644 --- a/src/screens/library/LibraryScreen.tsx +++ b/src/screens/library/LibraryScreen.tsx @@ -102,17 +102,20 @@ const LibraryScreen = ({ navigation }: LibraryScreenProps) => { renderLabel={({ route, color }) => ( {route.title} - - {showNumberOfNovels && ( + {showNumberOfNovels && ( + {(route as any)?.novels.length} - )} - + + )} )} inactiveColor={theme.secondary} @@ -319,6 +322,7 @@ const styles = StyleSheet.create({ bottom: 0, }, badgeCtn: { + position: 'relative', borderRadius: 50, marginHorizontal: 6, paddingHorizontal: 6,