Skip to content

A local-first personal finance app

[AI] Keep the bank sync status pill below the notch in the iOS mobile app (#9328)

Matiss Janis Aboltinsdbb48dc4323b
diff --git a/packages/desktop-client/src/components/BankSyncStatus.tsx b/packages/desktop-client/src/components/BankSyncStatus.tsx
index 2250170634..9e4364dfb1 100644
--- a/packages/desktop-client/src/components/BankSyncStatus.tsx
+++ b/packages/desktop-client/src/components/BankSyncStatus.tsx
@@ -29,7 +29,9 @@ export function BankSyncStatus() {
<View
style={{
position: 'absolute',
- top: 0,
+ // Keep the pill below the status bar / notch (non-zero only in the
+ // native mobile app, where the web view covers the whole screen).
+ top: 'env(safe-area-inset-top)',
left: 0,
right: 0,
marginTop: 5,
diff --git a/upcoming-release-notes/mobile-sync-status-safe-area.md b/upcoming-release-notes/mobile-sync-status-safe-area.md
new file mode 100644
index 0000000000..1e1d5199c5
--- /dev/null
+++ b/upcoming-release-notes/mobile-sync-status-safe-area.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [MatissJanis]
+---
+
+Keep the bank sync status pill below the notch in the iOS mobile app