Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/quiet-profile-custom-page-theme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@clerk/expo-native-components": patch
---

Apply the Clerk theme to custom user-profile page backgrounds and navigation bars on iOS.
5 changes: 5 additions & 0 deletions packages/expo-native-components/ios/ClerkNativeBridge.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1557,6 +1557,8 @@ private struct ClerkReactEmbeddedUserProfileCustomPage: View {
}

private struct ClerkReactUserProfileCustomPageContent: View {
@Environment(\.clerkTheme) private var theme

let path: String
let rows: [ClerkUserProfileCustomRowConfig]
let state: ClerkUserProfileCustomPageState
Expand All @@ -1570,8 +1572,11 @@ private struct ClerkReactUserProfileCustomPageContent: View {
}
}
.frame(maxWidth: .infinity, maxHeight: .infinity)
.background(theme.colors.muted)
.navigationTitle(userProfileCustomPageLabel(for: path, rows: rows))
.navigationBarTitleDisplayMode(.inline)
.preGlassSolidNavBar()
.background(theme.colors.background)
}
}

Expand Down
Loading