only show the relay log in developer mode

Signed-off-by: Bryan Montz <bryanmontz@me.com>
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
Bryan Montz
2023-07-09 08:45:40 -05:00
committed by William Casarin
parent 2d9f7128ee
commit faaa3e3bd9
3 changed files with 17 additions and 14 deletions

View File

@@ -125,7 +125,7 @@ struct RelayDetailView: View {
}
}
if let log_contents = log.contents {
if state.settings.developer_mode, let log_contents = log.contents {
Section("Log") {
Text(log_contents)
.font(.system(size: 13))