about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorgpp-0 <52042597+gpp-0@users.noreply.github.com>2024-10-14 19:21:05 +0300
committerGitHub <noreply@github.com>2024-10-14 11:21:05 -0500
commit240535fd8bac133fea312452af5397b69c623dd8 (patch)
tree63621692b8b1ca80eee3ebf83ef9441bbf924ee4 /src
parent0b4dc64c63e7fecb82d2be6fe4cd9267c55ee444 (diff)
downloadvoidsky-240535fd8bac133fea312452af5397b69c623dd8.tar.zst
Move the back-button in front of banner (#5748)
Diffstat (limited to 'src')
-rw-r--r--src/screens/Profile/Header/GrowableBanner.tsx2
-rw-r--r--src/screens/Profile/Header/Shell.tsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/screens/Profile/Header/GrowableBanner.tsx b/src/screens/Profile/Header/GrowableBanner.tsx
index e1bb8e00e..144b7cd2d 100644
--- a/src/screens/Profile/Header/GrowableBanner.tsx
+++ b/src/screens/Profile/Header/GrowableBanner.tsx
@@ -36,8 +36,8 @@ export function GrowableBanner({
   if (!pagerContext || !isIOS) {
     return (
       <View style={[a.w_full, a.h_full]}>
-        {backButton}
         {children}
+        {backButton}
       </View>
     )
   }
diff --git a/src/screens/Profile/Header/Shell.tsx b/src/screens/Profile/Header/Shell.tsx
index f7011fd35..4e34c87ef 100644
--- a/src/screens/Profile/Header/Shell.tsx
+++ b/src/screens/Profile/Header/Shell.tsx
@@ -66,7 +66,7 @@ let ProfileHeaderShell = ({
   return (
     <View style={t.atoms.bg} pointerEvents={isIOS ? 'auto' : 'box-none'}>
       <View
-        pointerEvents={isIOS ? 'auto' : 'none'}
+        pointerEvents={isIOS ? 'auto' : 'box-none'}
         style={[a.relative, {height: 150}]}>
         <GrowableBanner
           backButton={