diff options
author | Eric Bailey <git@esb.lol> | 2023-11-22 16:53:11 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-22 16:53:11 -0600 |
commit | 95f8bd8ddb356ce982b31eabb2dcf9f08ba40b9b (patch) | |
tree | c25793eac2ee221ce6b431201c0d4362384c7297 /src/view/screens/Feeds.tsx | |
parent | 08333002cc4589c225c8fb82112d7059c334bfeb (diff) | |
download | voidsky-95f8bd8ddb356ce982b31eabb2dcf9f08ba40b9b.tar.zst |
[PWI] Misc (#1977)
* PostDropdownBtn * Hide reply prompt * Hide FABs
Diffstat (limited to 'src/view/screens/Feeds.tsx')
-rw-r--r-- | src/view/screens/Feeds.tsx | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/view/screens/Feeds.tsx b/src/view/screens/Feeds.tsx index 284339118..f8fc0db17 100644 --- a/src/view/screens/Feeds.tsx +++ b/src/view/screens/Feeds.tsx @@ -504,14 +504,16 @@ export const FeedsScreen = withAuthRequired( desktopFixedHeight /> - <FAB - testID="composeFAB" - onPress={onPressCompose} - icon={<ComposeIcon2 strokeWidth={1.5} size={29} style={s.white} />} - accessibilityRole="button" - accessibilityLabel={_(msg`New post`)} - accessibilityHint="" - /> + {hasSession && ( + <FAB + testID="composeFAB" + onPress={onPressCompose} + icon={<ComposeIcon2 strokeWidth={1.5} size={29} style={s.white} />} + accessibilityRole="button" + accessibilityLabel={_(msg`New post`)} + accessibilityHint="" + /> + )} </View> ) }, |