Skip to content

Commit

Permalink
fix: Typo in selected browser preference usage
Browse files Browse the repository at this point in the history
The values used for selected browser aren't the ones set in strings.xml.

Fixes issue nextcloud#1289
  • Loading branch information
thebaztet committed Nov 11, 2023
1 parent 16812d5 commit 98dc966
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 98dc966

Please sign in to comment.