|
|
@ -157,15 +157,6 @@ public class EditPreferences extends TodorooPreferenceActivity {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
preference = screen.findPreference(getString(R.string.p_forums));
|
|
|
|
|
|
|
|
preference.setOnPreferenceClickListener(new OnPreferenceClickListener() {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public boolean onPreferenceClick(Preference p) {
|
|
|
|
|
|
|
|
showForums();
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
preference = screen.findPreference(getString(R.string.p_premium));
|
|
|
|
preference = screen.findPreference(getString(R.string.p_premium));
|
|
|
|
if (ActFmPreferenceService.isPremiumUser())
|
|
|
|
if (ActFmPreferenceService.isPremiumUser())
|
|
|
|
screen.removePreference(preference);
|
|
|
|
screen.removePreference(preference);
|
|
|
@ -178,7 +169,6 @@ public class EditPreferences extends TodorooPreferenceActivity {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PreferenceCategory appearance = (PreferenceCategory) screen.getPreference(APPEARANCE_PREFERENCE);
|
|
|
|
PreferenceCategory appearance = (PreferenceCategory) screen.getPreference(APPEARANCE_PREFERENCE);
|
|
|
|
Preference beastMode = appearance.getPreference(1);
|
|
|
|
Preference beastMode = appearance.getPreference(1);
|
|
|
|
beastMode.setTitle(r.getString(R.string.EPr_beastMode_title));
|
|
|
|
beastMode.setTitle(r.getString(R.string.EPr_beastMode_title));
|
|
|
|