Dont reposition load latest button on desktop (#1508)

zio/stable
Paul Frazee 2023-09-21 17:36:33 -07:00 committed by GitHub
parent 8aabbb9b6f
commit 44985d2312
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,8 @@ export const LoadLatestBtn = observer(function LoadLatestBtnImpl({
const minMode = store.shell.minimalShellMode
const bottom = isTablet
? 50
: (minMode ? 16 : 60) + (isWeb ? 20 : clamp(safeAreaInsets.bottom, 15, 60))
: (minMode || isDesktop ? 16 : 60) +
(isWeb ? 20 : clamp(safeAreaInsets.bottom, 15, 60))
return (
<TouchableOpacity
style={[