1
0
mirror of https://github.com/MGislv/NekoX.git synced 2024-07-02 10:33:36 +00:00

Re-enable censored features

This commit is contained in:
MGislv 2022-03-07 19:19:58 +01:00
parent 81f1d1aa76
commit 64a63cd929
2 changed files with 2 additions and 15 deletions

View File

@ -174,16 +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);
NekoConfig.disableChatAction.setConfigBool(false);
NekoConfig.disableChoosingSticker.setConfigBool(false);
NekoConfig.ignoreBlocked.setConfigBool(false);
}
listAdapter = new ListAdapter(context);
fragmentView = new FrameLayout(context);
@ -594,4 +584,4 @@ public class NekoChatSettingsActivity extends BaseFragment implements Notificati
return new RecyclerListView.Holder(view);
}
}
}
}

View File

@ -721,9 +721,6 @@ public class NekoGeneralSettingsActivity extends BaseFragment {
}
private void setCanNotChange() {
if (!NekoXConfig.isDeveloper())
cellGroup.rows.remove(hideSponsoredMessageRow);
boolean enabled;
enabled = NekoConfig.largeAvatarInDrawer.Int() > 0;
@ -768,4 +765,4 @@ public class NekoGeneralSettingsActivity extends BaseFragment {
keyField.requestFocus();
AndroidUtilities.showKeyboard(keyField);
}
}
}