diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-09-21 17:36:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-21 17:36:33 -0700 |
commit | 44985d2312bcb12969e7d1d476b96b0f522b9a19 (patch) | |
tree | 8a44b566cc567639e516e7207e0146905bd9eb94 /src | |
parent | 8aabbb9b6f531e2f7d501cffe9a2ef65bf82e1a0 (diff) | |
download | voidsky-44985d2312bcb12969e7d1d476b96b0f522b9a19.tar.zst |
Dont reposition load latest button on desktop (#1508)
Diffstat (limited to 'src')
-rw-r--r-- | src/view/com/util/load-latest/LoadLatestBtn.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/view/com/util/load-latest/LoadLatestBtn.tsx b/src/view/com/util/load-latest/LoadLatestBtn.tsx index 904f57233..f5d12ce2c 100644 --- a/src/view/com/util/load-latest/LoadLatestBtn.tsx +++ b/src/view/com/util/load-latest/LoadLatestBtn.tsx @@ -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={[ |