From 8d6cb4249f21880d3b074ef6a44bc14776aaf9d8 Mon Sep 17 00:00:00 2001 From: thebaztet <150456327+thebaztet@users.noreply.github.com> Date: Fri, 10 Nov 2023 16:29:53 +0100 Subject: [PATCH] fix: Typo in selected browser preference usage The values used for selected browser aren't the ones set in strings.xml. Fixes issue #1289 Signed-off-by: thebaztet <150456327+thebaztet@users.noreply.github.com> --- .../de/luhmer/owncloudnewsreader/NewsReaderListActivity.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/NewsReaderListActivity.java b/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/NewsReaderListActivity.java index 562954b18..585bba87b 100644 --- a/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/NewsReaderListActivity.java +++ b/News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/NewsReaderListActivity.java @@ -1199,12 +1199,10 @@ public void onClick(RssItemViewHolder vh, int position) { int selectedBrowser = Integer.parseInt(mPrefs.getString(SettingsActivity.SP_DISPLAY_BROWSER, "0")); switch(selectedBrowser) { case 0: + case 2: openRssItemInCustomTab(currentUrl); break; case 1: - //openRssItemInInternalBrowser(currentUrl); - break; - case 2: openRssItemInExternalBrowser(currentUrl); break; }