diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-04-20 17:36:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-20 17:36:25 -0500 |
commit | e02c926c8a18f9cf296544b23ad343a59919acff (patch) | |
tree | 95eb2afa59595b74564c36178ad019c67a058e83 /src/view/shell/desktop/LeftNav.tsx | |
parent | f2fe4abdce71fffa36419b8642289b7b86af7377 (diff) | |
download | voidsky-e02c926c8a18f9cf296544b23ad343a59919acff.tar.zst |
Improvements to notifications screen [APP-520] (#501)
* Refresh or sync notifications when the tab is navigated to * Fix to bad textnode render * Speed up initial session load * Fix lint * Restore updateSessionState() on session resumption
Diffstat (limited to 'src/view/shell/desktop/LeftNav.tsx')
-rw-r--r-- | src/view/shell/desktop/LeftNav.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/shell/desktop/LeftNav.tsx b/src/view/shell/desktop/LeftNav.tsx index bcff844f1..b4b219023 100644 --- a/src/view/shell/desktop/LeftNav.tsx +++ b/src/view/shell/desktop/LeftNav.tsx @@ -95,11 +95,11 @@ const NavItem = observer( <Link href={href} style={styles.navItem}> <View style={[styles.navItemIconWrapper]}> {isCurrent ? iconFilled : icon} - {typeof count === 'string' && count && ( + {typeof count === 'string' && count ? ( <Text type="button" style={styles.navItemCount}> {count} </Text> - )} + ) : null} </View> <Text type="title" style={[isCurrent ? s.bold : s.normal, pal.text]}> {label} |