From c71d06024cf9f32741501f08c8083104c2678d95 Mon Sep 17 00:00:00 2001 From: Stuart Breckenridge Date: Fri, 4 Feb 2022 13:27:59 +0800 Subject: [PATCH] Moves image to app assets --- iOS/AppAssets.swift | 4 ++++ iOS/Settings/NotificationsViewController.swift | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/iOS/AppAssets.swift b/iOS/AppAssets.swift index 160e5bf2e..26ee3be0f 100644 --- a/iOS/AppAssets.swift +++ b/iOS/AppAssets.swift @@ -54,6 +54,10 @@ struct AppAssets { static var accountTheOldReaderImage: UIImage = { return UIImage(named: "accountTheOldReader")! }() + + static var appBadgeImage: UIImage = { + return UIImage(systemName: "app.badge")! + }() static var articleExtractorError: UIImage = { return UIImage(named: "articleExtractorError")! diff --git a/iOS/Settings/NotificationsViewController.swift b/iOS/Settings/NotificationsViewController.swift index f8b4e9949..c7366ec22 100644 --- a/iOS/Settings/NotificationsViewController.swift +++ b/iOS/Settings/NotificationsViewController.swift @@ -85,7 +85,7 @@ class NotificationsViewController: UIViewController { children: [ UIAction( title: NSLocalizedString("Show Feeds with Notifications Enabled", comment: "Feeds with Notifications"), - image: UIImage(systemName: "app.badge"), + image: AppAssets.appBadgeImage, identifier: nil, discoverabilityTitle: nil, attributes: [],