about summary refs log tree commit diff
path: root/src/view/screens/Profile.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-03-06 10:54:56 -0600
committerGitHub <noreply@github.com>2023-03-06 10:54:56 -0600
commiteeac64cc88f37fe561e3c4361f40681fbe2f6d99 (patch)
tree314f889b8e283cd9f9b4dd416a849cee1ce7d82e /src/view/screens/Profile.tsx
parent159615990d95aee47a983fd704a87443ec2f29b1 (diff)
downloadvoidsky-eeac64cc88f37fe561e3c4361f40681fbe2f6d99.tar.zst
Look & feel updates: replace the "FAB" with a footer menu item, update the side menu (#263)
* Remove old tab controls from the mobile shell

* Add 'compose' and 'profile' to the footer; remove the FAB

* Fix lint

* Tune the footer icons

* Tune the 'current' state of footer icons

* Add 2xl text styles

* Tune the footer icons a bit more

* Fix lint

* More footer tuning
Diffstat (limited to 'src/view/screens/Profile.tsx')
-rw-r--r--src/view/screens/Profile.tsx6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/view/screens/Profile.tsx b/src/view/screens/Profile.tsx
index 03d973b96..7739814f5 100644
--- a/src/view/screens/Profile.tsx
+++ b/src/view/screens/Profile.tsx
@@ -13,7 +13,6 @@ import {ErrorScreen} from '../com/util/error/ErrorScreen'
 import {ErrorMessage} from '../com/util/error/ErrorMessage'
 import {EmptyState} from '../com/util/EmptyState'
 import {Text} from '../com/util/text/Text'
-import {FAB} from '../com/util/FAB'
 import {s, colors} from 'lib/styles'
 import {useOnMainScroll} from 'lib/hooks/useOnMainScroll'
 import {useAnalytics} from 'lib/analytics'
@@ -87,10 +86,6 @@ export const Profile = observer(({navIdx, visible, params}: ScreenParams) => {
     uiState.setup()
   }
 
-  const onPressCompose = () => {
-    store.shell.openComposer({})
-  }
-
   // rendering
   // =
 
@@ -191,7 +186,6 @@ export const Profile = observer(({navIdx, visible, params}: ScreenParams) => {
       ) : (
         <CenteredView>{renderHeader()}</CenteredView>
       )}
-      <FAB icon="plus" onPress={onPressCompose} />
     </View>
   )
 })