mirror of
https://github.com/maxgoedjen/secretive.git
synced 2025-09-20 03:10:57 +00:00
Remove namespace
This commit is contained in:
parent
f61e0db63a
commit
57a9e3fa09
@ -67,12 +67,12 @@ extension ContentView {
|
||||
var updateNoticeContent: (LocalizedStringResource, Color)? {
|
||||
guard let update = updater.update else { return nil }
|
||||
if update.critical {
|
||||
return (LocalizedStringResource.updateCriticalNoticeTitle, .red)
|
||||
return (.updateCriticalNoticeTitle, .red)
|
||||
} else {
|
||||
if updater.testBuild {
|
||||
return (LocalizedStringResource.updateTestNoticeTitle, .blue)
|
||||
return (.updateTestNoticeTitle, .blue)
|
||||
} else {
|
||||
return (LocalizedStringResource.updateNormalNoticeTitle, .orange)
|
||||
return (.updateNormalNoticeTitle, .orange)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user