diff --git a/Multiplatform/Shared/AppAssets.swift b/Multiplatform/Shared/AppAssets.swift index da20e0d01..b84d713c7 100644 --- a/Multiplatform/Shared/AppAssets.swift +++ b/Multiplatform/Shared/AppAssets.swift @@ -167,10 +167,10 @@ struct AppAssets { return Image("MarkAllAsRead") }() - static var markAllAsReadImagePDF: Image = { - return Image("MarkAllAsReadPDF") + static var markAllAsReadImagePNG: Image = { + return Image("MarkAllAsReadPNG") }() - + static var nextUnreadArticleImage: Image = { return Image(systemName: "chevron.down.circle") }() diff --git a/Multiplatform/Shared/Assets.xcassets/MarkAllAsReadPDF.imageset/Contents.json b/Multiplatform/Shared/Assets.xcassets/MarkAllAsReadPDF.imageset/Contents.json deleted file mode 100644 index f23296bcc..000000000 --- a/Multiplatform/Shared/Assets.xcassets/MarkAllAsReadPDF.imageset/Contents.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "images" : [ - { - "filename" : "MarkAllAsReadPDF.pdf", - "idiom" : "universal" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - }, - "properties" : { - "preserves-vector-representation" : true, - "template-rendering-intent" : "template" - } -} diff --git a/Multiplatform/Shared/Assets.xcassets/MarkAllAsReadPDF.imageset/MarkAllAsReadPDF.pdf b/Multiplatform/Shared/Assets.xcassets/MarkAllAsReadPDF.imageset/MarkAllAsReadPDF.pdf deleted file mode 100644 index e2a044d56..000000000 Binary files a/Multiplatform/Shared/Assets.xcassets/MarkAllAsReadPDF.imageset/MarkAllAsReadPDF.pdf and /dev/null differ diff --git a/Multiplatform/Shared/Assets.xcassets/MarkAllAsReadPNG.imageset/Contents.json b/Multiplatform/Shared/Assets.xcassets/MarkAllAsReadPNG.imageset/Contents.json new file mode 100644 index 000000000..57b502628 --- /dev/null +++ b/Multiplatform/Shared/Assets.xcassets/MarkAllAsReadPNG.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "mark-all-as-read.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Multiplatform/Shared/Assets.xcassets/MarkAllAsReadPNG.imageset/mark-all-as-read.png b/Multiplatform/Shared/Assets.xcassets/MarkAllAsReadPNG.imageset/mark-all-as-read.png new file mode 100644 index 000000000..c78a44c1b Binary files /dev/null and b/Multiplatform/Shared/Assets.xcassets/MarkAllAsReadPNG.imageset/mark-all-as-read.png differ diff --git a/Multiplatform/Shared/SceneNavigationView.swift b/Multiplatform/Shared/SceneNavigationView.swift index 9105551f3..1aeb052cc 100644 --- a/Multiplatform/Shared/SceneNavigationView.swift +++ b/Multiplatform/Shared/SceneNavigationView.swift @@ -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")