mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-17 15:09:31 +02:00
Content scanner thumbnail status
This commit is contained in:
@@ -684,4 +684,7 @@ class BWIBuildSettings: NSObject {
|
||||
|
||||
// MARK: App Config
|
||||
var avoidServerSelectionOnAppConfig = false
|
||||
|
||||
// MARK: Content Scanner Status Thumbnail
|
||||
var showContentScannerStatusWithFilename = true
|
||||
}
|
||||
|
||||
@@ -61,13 +61,16 @@ struct ThumbnailAttributedStatus: View {
|
||||
|
||||
var body: some View {
|
||||
|
||||
let t = Text(verbatim: filename)
|
||||
.foregroundColor(filenameColor) +
|
||||
HStack {
|
||||
if BWIBuildSettings.shared.showContentScannerStatusWithFilename {
|
||||
Text(verbatim: filename)
|
||||
.foregroundColor(filenameColor)
|
||||
.font(.system(size: 15))
|
||||
}
|
||||
Text(verbatim: status)
|
||||
.foregroundColor(statusColor)
|
||||
|
||||
return t
|
||||
.font(.system(size: 15))
|
||||
.font(.system(size: 15))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user