Index: src/org/adblockplus/android/Preferences.java |
=================================================================== |
--- a/src/org/adblockplus/android/Preferences.java |
+++ b/src/org/adblockplus/android/Preferences.java |
@@ -104,11 +104,6 @@ |
{ |
copyAssets(); |
} |
- |
- // Set Acceptable Ads FAQ link |
- HelpfulCheckBoxPreference acceptableAdsCheckBox = (HelpfulCheckBoxPreference) findPreference(getString(R.string.pref_acceptableads)); |
- // TODO Set proper url |
- acceptableAdsCheckBox.setHelpUrl("https://adblockplus.org/en/acceptable-ads"); |
} |
@Override |
@@ -132,6 +127,11 @@ |
} |
subscriptionList.setEntries(entries); |
subscriptionList.setEntryValues(entryValues); |
+ |
+ // Set Acceptable Ads FAQ link |
+ HelpfulCheckBoxPreference acceptableAdsCheckBox = |
+ (HelpfulCheckBoxPreference) findPreference(getString(R.string.pref_acceptableads)); |
+ acceptableAdsCheckBox.setHelpUrl(AdblockPlus.getApplication().getAcceptableAdsUrl()); |
} |
@Override |