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