Change mark all as read image to be a PNG, since SwiftUI on AppKit sucks at handling vector resources

This commit is contained in:
Maurice Parker
2020-07-19 17:44:41 -05:00
parent 88745755b6
commit 4446fa0ca9
6 changed files with 26 additions and 23 deletions

View File

@@ -94,10 +94,8 @@ struct SceneNavigationView: View {
Button {
sceneModel.markAllAsRead()
} label: {
AppAssets.markAllAsReadImagePDF
.resizable()
.scaledToFit()
.frame(width: 20, height: 20, alignment: .center)
AppAssets.markAllAsReadImagePNG
.offset(y: 7)
}
.disabled(sceneModel.markAllAsReadButtonState == nil)
.help("Mark All as Read")