Skip to content

Commit

Permalink
[Android] Fix for default action on opening link
Browse files Browse the repository at this point in the history
  • Loading branch information
samartnik committed Dec 12, 2024
1 parent ce9f151 commit c76e1d1
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ public class BraveTabGroupModelFilter {
public boolean shouldUseParentIds(Tab tab) {
if (linkClicked(tab.getLaunchType())
&& ChromeSharedPreferences.getInstance()
.readBoolean(BravePreferenceKeys.BRAVE_TAB_GROUPS_ENABLED, true)
.readBoolean(
BravePreferenceKeys.BRAVE_TAB_GROUPS_ENABLED,
ChromeSharedPreferences.getInstance()
.readBoolean(
BravePreferenceKeys
.BRAVE_TAB_GROUPS_ENABLED_DEFAULT_VALUE,
true))
&& isTabModelRestored()
&& !mIsResetting) {
return true;
Expand Down

0 comments on commit c76e1d1

Please sign in to comment.