From d35f7c1f1a9f35958ff3f6dacd002e31b0a824b0 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Sat, 22 Apr 2023 17:14:20 -0500 Subject: 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 --- src/view/com/lightbox/Lightbox.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/view/com/lightbox/Lightbox.tsx') 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 + return null } }) -- cgit 1.4.1