wip
This commit is contained in:
parent
e39dbb2e49
commit
e2002057db
|
@ -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
|
||||||
}()
|
}()
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue