fix danar show in prefs
This commit is contained in:
parent
a55a4ba6eb
commit
609f99dc1c
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ public class PreferencesActivity extends PreferenceActivity implements SharedPre
|
|||
if (Config.DANAR) {
|
||||
addPreferencesFromResource(R.xml.pref_danar);
|
||||
DanaRPlugin danaRPlugin = (DanaRPlugin) MainApp.getSpecificPlugin(DanaRPlugin.class);
|
||||
if (danaRPlugin.isEnabled(PluginBase.PROFILE)) {
|
||||
if (danaRPlugin.isEnabled(PluginBase.PUMP)) {
|
||||
addPreferencesFromResource(R.xml.pref_danarprofile);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue