Re-enabled flattr

This commit is contained in:
ByteHamster 2018-05-07 18:11:43 +02:00
parent ea96e239fa
commit 3b445c3403
1 changed files with 4 additions and 6 deletions

View File

@ -586,12 +586,10 @@ public class PreferenceController implements SharedPreferences.OnSharedPreferenc
.addBreadcrumb(getTitleOfPage(R.xml.preferences_integrations))
.addBreadcrumb(getTitleOfPage(R.xml.preferences_gpodder))
.addFile(R.xml.preferences_gpodder);
if (FlattrUtils.hasToken()) {
searchPreference.index()
.addBreadcrumb(getTitleOfPage(R.xml.preferences_integrations))
.addBreadcrumb(getTitleOfPage(R.xml.preferences_flattr))
.addFile(R.xml.preferences_flattr);
}
searchPreference.index()
.addBreadcrumb(getTitleOfPage(R.xml.preferences_integrations))
.addBreadcrumb(getTitleOfPage(R.xml.preferences_flattr))
.addFile(R.xml.preferences_flattr);
}
public PreferenceFragmentCompat openScreen(int preferences, AppCompatActivity activity) {