Commit d3abb91
committed
Fix modal safe area handling for proper screen orientation
- HomeScreen: Use useSafeAreaInsets for detail modal to prevent content going under status bar/notch
- InfoScreen: Use dynamic safe area insets for image viewer header
- Add statusBarTranslucent prop to modal for proper behavior
- Remove fixed paddingTop from InfoScreen imageViewerHeader style
- Add bottom safe area padding for proper scrollview handling1 parent f7d2f3a commit d3abb91
2 files changed
Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| |||
121 | 124 | | |
122 | 125 | | |
123 | 126 | | |
| 127 | + | |
124 | 128 | | |
125 | 129 | | |
126 | 130 | | |
| |||
766 | 770 | | |
767 | 771 | | |
768 | 772 | | |
| 773 | + | |
769 | 774 | | |
770 | | - | |
| 775 | + | |
| 776 | + | |
771 | 777 | | |
772 | 778 | | |
773 | 779 | | |
| |||
924 | 930 | | |
925 | 931 | | |
926 | 932 | | |
927 | | - | |
| 933 | + | |
928 | 934 | | |
929 | | - | |
| 935 | + | |
930 | 936 | | |
931 | 937 | | |
932 | 938 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
| 96 | + | |
94 | 97 | | |
95 | 98 | | |
96 | 99 | | |
| |||
1395 | 1398 | | |
1396 | 1399 | | |
1397 | 1400 | | |
1398 | | - | |
| 1401 | + | |
1399 | 1402 | | |
1400 | 1403 | | |
1401 | 1404 | | |
| |||
2042 | 2045 | | |
2043 | 2046 | | |
2044 | 2047 | | |
2045 | | - | |
2046 | 2048 | | |
2047 | 2049 | | |
2048 | 2050 | | |
| |||
0 commit comments