mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Complete switch on Mac from AppAssets to AppAsset.
This commit is contained in:
@@ -799,7 +799,7 @@ extension MainWindowController: NSToolbarDelegate {
|
||||
|
||||
case .markStar:
|
||||
let title = NSLocalizedString("Star", comment: "Star")
|
||||
return buildToolbarButton(.markStar, title, AppAssets.starOpenImage, "toggleStarred:")
|
||||
return buildToolbarButton(.markStar, title, AppAsset.starOpenImage, "toggleStarred:")
|
||||
|
||||
case .nextUnread:
|
||||
let title = NSLocalizedString("Next Unread", comment: "Next Unread")
|
||||
@@ -1135,7 +1135,7 @@ private extension MainWindowController {
|
||||
}
|
||||
|
||||
if let toolbarItem = item as? NSToolbarItem, let button = toolbarItem.view as? NSButton {
|
||||
button.image = starring ? AppAssets.starOpenImage : AppAssets.starClosedImage
|
||||
button.image = starring ? AppAsset.starOpenImage : AppAsset.starClosedImage
|
||||
}
|
||||
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user