Present sheets as a full bottom drawer

This commit is contained in:
2026-10-03 23:42:46 +08:00
parent 782143e87b
commit 31429e6923
7 changed files with 148 additions and 50 deletions
+1 -4
View File
@@ -7,8 +7,7 @@ struct SettingsView: View {
private let currencies = ["USD", "MYR", "JPY"]
var body: some View {
ZStack {
Theme.background.ignoresSafeArea()
ScrollView {
VStack(alignment: .leading, spacing: 18) {
ScreenHeader(title: "Settings", subtitle: "Security and device options", onBack: { dismiss() })
@@ -70,7 +69,5 @@ struct SettingsView: View {
.padding(.top, 12)
}
.preferredColorScheme(.dark)
.presentationDetents([.medium, .large])
.presentationDragIndicator(.visible)
}
}