diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-04-22 17:14:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-22 17:14:20 -0500 |
commit | d35f7c1f1a9f35958ff3f6dacd002e31b0a824b0 (patch) | |
tree | 6d69c883ef34fb3593d42641d25e421222e21635 /src/view/com/lightbox/Lightbox.tsx | |
parent | eb6b36be61b38d2dab799d8f82b6f65645b9e3f6 (diff) | |
download | voidsky-d35f7c1f1a9f35958ff3f6dacd002e31b0a824b0.tar.zst |
Android fixes (#515)
* Fix profile screen performance on android and remove dead code * Correctly handle android hardware back btn * Fix EditProfile modal for android * Fix lint
Diffstat (limited to 'src/view/com/lightbox/Lightbox.tsx')
-rw-r--r-- | src/view/com/lightbox/Lightbox.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/view/com/lightbox/Lightbox.tsx b/src/view/com/lightbox/Lightbox.tsx index d6cc8c254..06b48143b 100644 --- a/src/view/com/lightbox/Lightbox.tsx +++ b/src/view/com/lightbox/Lightbox.tsx @@ -1,5 +1,4 @@ import React from 'react' -import {View} from 'react-native' import {observer} from 'mobx-react-lite' import ImageView from './ImageViewing' import {useStores} from 'state/index' @@ -48,6 +47,6 @@ export const Lightbox = observer(function Lightbox() { /> ) } else { - return <View /> + return null } }) |