MESSENGER-4407 fixes from testprotocol

This commit is contained in:
JanNiklas Grabowski
2023-03-16 16:45:48 +01:00
parent e2912b7e42
commit cf1317452e
7 changed files with 33 additions and 13 deletions
@@ -57,8 +57,8 @@ class ContentScannerStatus: ObservableObject, ContentScannerContentDelegate {
self.scanStatusVisibility = (scanStatus == .infected) ? false : true
self.backgroundColor = (scanStatus == .infected) ? self.theme.textPrimaryColor : self.theme.baseColor
self.tintColor = (scanStatus != .infected) ? self.theme.backgroundColor : self.theme.textSecondaryColor
self.backgroundColor = (scanStatus == .infected) ? self.theme.warningColor : self.theme.baseColor
self.tintColor = (scanStatus != .infected) ? self.theme.backgroundColor : self.theme.warningColor
self.statusColor = (scanStatus != .infected) ? self.theme.textPrimaryColor : self.theme.textSecondaryColor
}
}