diff --git a/android/res/drawable/ic_news.xml b/android/res/drawable/ic_news.xml new file mode 100755 index 0000000000..15fd2e6b1d --- /dev/null +++ b/android/res/drawable/ic_news.xml @@ -0,0 +1,10 @@ + + + diff --git a/android/res/layout/about.xml b/android/res/layout/about.xml index c837a1837a..361669d6df 100644 --- a/android/res/layout/about.xml +++ b/android/res/layout/about.xml @@ -62,6 +62,11 @@ android:textAppearance="@style/MwmTextAppearance.Body1" android:text="@string/about_description"/> + + \ No newline at end of file diff --git a/iphone/Maps/UI/Help/AboutController.swift b/iphone/Maps/UI/Help/AboutController.swift index e403d6952e..b9f14a3be0 100644 --- a/iphone/Maps/UI/Help/AboutController.swift +++ b/iphone/Maps/UI/Help/AboutController.swift @@ -116,7 +116,7 @@ final class AboutController: MWMViewController, UITableViewDataSource, UITableVi // Update didSelect... delegate after modifying this list. private let labels = [ - ["faq", "report_a_bug", "how_to_support_us", "rate_the_app"], + ["news", "faq", "report_a_bug", "how_to_support_us", "rate_the_app"], ["telegram", "github", "website", "email", "facebook", "twitter", "instagram", "matrix", "openstreetmap"], ["privacy_policy", "terms_of_use", "copyright"], ] @@ -168,10 +168,11 @@ final class AboutController: MWMViewController, UITableViewDataSource, UITableVi case 0: self.openUrl("https://organicmaps.app/donate/") // First buttons section. case 1: switch indexPath[1] { - case 0: self.navigationController?.pushViewController(FaqController(), animated: true) - case 1: sendEmailWith(header: "Organic Maps Bugreport", toRecipients: [kiOSEmail]) - case 2: self.openUrl("https://organicmaps.app/support-us/") - case 3: UIApplication.shared.rateApp() + case 0: self.openUrl("https://organicmaps.app/news/") + case 1: self.navigationController?.pushViewController(FaqController(), animated: true) + case 2: sendEmailWith(header: "Organic Maps Bugreport", toRecipients: [kiOSEmail]) + case 3: self.openUrl("https://organicmaps.app/support-us/") + case 4: UIApplication.shared.rateApp() default: fatalError("Invalid cell0 \(indexPath)") } // Second section. Open urls in external Safari so logged-in users can easily follow us.