fix(android): isolate platform-specific shared ui code

This commit is contained in:
Daniel Arantes Loverde
2026-03-19 16:11:07 -03:00
parent c49725a5f7
commit cb7bfef356
16 changed files with 413 additions and 35 deletions

View File

@@ -18,7 +18,7 @@ struct TermsOfUseView: View {
.background((colorScheme == .dark ? Color.black : AppColors.backgroundLight).ignoresSafeArea())
.navigationTitle("Termos de Uso")
#if os(iOS)
.navigationBarTitleDisplayMode(.inline)
.appInlineNavigationTitle()
#endif
}
}
@@ -41,7 +41,7 @@ struct PrivacyPolicyView: View {
.background((colorScheme == .dark ? Color.black : AppColors.backgroundLight).ignoresSafeArea())
.navigationTitle("Privacidade")
#if os(iOS)
.navigationBarTitleDisplayMode(.inline)
.appInlineNavigationTitle()
#endif
}
}