Remove namespace

This commit is contained in:
Max Goedjen 2025-08-17 15:04:18 -05:00
parent f61e0db63a
commit 57a9e3fa09
No known key found for this signature in database

View File

@ -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)
}
}
}