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

@@ -292,12 +292,10 @@ struct PizzaProductDetailSheet: View {
}
.background(AppColors.backgroundLight.ignoresSafeArea())
.navigationTitle("Monte sua pizza")
.navigationBarTitleDisplayMode(.inline)
.toolbar {
ToolbarItem(placement: .topBarTrailing) {
Button("Fechar") { dismiss() }
.foregroundStyle(AppColors.primary)
}
.appInlineNavigationTitle()
.appTopBarTrailingToolbar {
Button("Fechar") { dismiss() }
.foregroundStyle(AppColors.primary)
}
.onAppear {
applyAutoSelections()