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 = { static let config: Configuration = {
var config = Configuration() var config = Configuration()
#if DEBUG #if DEBUG
// // verbose and debugging in DEBUG builds only. // verbose and debugging in DEBUG builds only.
// config.publicStatementArguments = true config.publicStatementArguments = true
// config.prepareDatabase { db in config.prepareDatabase { db in
// db.trace { print("SQL> \($0)\n") } db.trace { print("SQL> \($0)\n") }
// } }
#endif #endif
return config return config
}() }()

View file

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