Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Commit

Permalink
Missed one
Browse files Browse the repository at this point in the history
Signed-off-by: androidacy-user <[email protected]>
  • Loading branch information
androidacy-user committed Dec 15, 2022
1 parent a5cd1da commit 6747c11
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1018,11 +1018,7 @@ private void setRepoData(final RepoData repoData, String preferenceName) {
if (submissionUrl != null && !submissionUrl.isEmpty()) {
preference.setVisible(true);
preference.setOnPreferenceClickListener(p -> {
if (submissionUrl.startsWith("https://www.androidacy.com/")) {
IntentHelper.openUrlAndroidacy(getFoxActivity(this), submissionUrl, true);
} else {
IntentHelper.openUrl(getFoxActivity(this), submissionUrl);
}
IntentHelper.openUrl(getFoxActivity(this), submissionUrl);
return true;
});
((LongClickablePreference) preference).setOnPreferenceLongClickListener(p -> {
Expand Down

0 comments on commit 6747c11

Please sign in to comment.