This commit is contained in:
fmodf 2024-10-23 17:13:18 +02:00
parent e39dbb2e49
commit e2002057db
2 changed files with 15 additions and 10 deletions

View file

@ -46,11 +46,11 @@ private extension Database {
static let config: Configuration = {
var config = Configuration()
#if DEBUG
// // verbose and debugging in DEBUG builds only.
// config.publicStatementArguments = true
// config.prepareDatabase { db in
// db.trace { print("SQL> \($0)\n") }
// }
// verbose and debugging in DEBUG builds only.
config.publicStatementArguments = true
config.prepareDatabase { db in
db.trace { print("SQL> \($0)\n") }
}
#endif
return config
}()

View file

@ -28,12 +28,17 @@ struct ConversationScreen: View {
router.dismissScreen()
}
),
centerText: .init(text: centerText(), action: {
router.showScreen(.fullScreenCover) { _ in
ConversationSettingsScreen()
.environmentObject(settings)
centerText: .init(text: centerText()),
rightButton: .init(
image: Image(systemName: "gear"),
action: {
router.showScreen(.push) { _ in
ConversationSettingsScreen()
.environmentObject(settings)
.navigationBarHidden(true)
}
}
})
)
)
// Msg list