mirror of https://github.com/MGislv/NekoX.git
Re-enable hidden features
This commit is contained in:
parent
6973dadbbe
commit
281e559795
|
@ -174,17 +174,6 @@ public class NekoChatSettingsActivity extends BaseFragment implements Notificati
|
|||
}
|
||||
});
|
||||
|
||||
// Before listAdapter
|
||||
if (!NekoXConfig.isDeveloper()) {
|
||||
cellGroup.rows.remove(disableChatActionRow);
|
||||
cellGroup.rows.remove(disableChoosingStickerRow);
|
||||
cellGroup.rows.remove(ignoreBlockedRow);
|
||||
cellGroup.rows.remove(dividerEnd);
|
||||
NekoConfig.disableChatAction.setConfigBool(false);
|
||||
NekoConfig.disableChoosingSticker.setConfigBool(false);
|
||||
NekoConfig.ignoreBlocked.setConfigBool(false);
|
||||
}
|
||||
|
||||
listAdapter = new ListAdapter(context);
|
||||
|
||||
fragmentView = new FrameLayout(context);
|
||||
|
@ -593,4 +582,4 @@ public class NekoChatSettingsActivity extends BaseFragment implements Notificati
|
|||
return new RecyclerListView.Holder(view);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -767,9 +767,6 @@ public class NekoGeneralSettingsActivity extends BaseFragment {
|
|||
}
|
||||
|
||||
private void setCanNotChange() {
|
||||
if (!NekoXConfig.isDeveloper())
|
||||
cellGroup.rows.remove(hideSponsoredMessageRow);
|
||||
|
||||
if (!BuildVars.isGServicesCompiled) {
|
||||
NekoConfig.useOSMDroidMap.setConfigBool(true);
|
||||
((ConfigCellTextCheck) useOSMDroidMapRow).setEnabled(false);
|
||||
|
@ -884,4 +881,4 @@ public class NekoGeneralSettingsActivity extends BaseFragment {
|
|||
this.invalidate();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue