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-06-30 02:35:04 +02:00
parent 60f770f123
commit 278acada50
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

@ -737,9 +737,6 @@ public class NekoGeneralSettingsActivity extends BaseFragment {
}
private void setCanNotChange() {
if (!NekoXConfig.isDeveloper())
cellGroup.rows.remove(hideSponsoredMessageRow);
boolean enabled;
enabled = NekoConfig.largeAvatarInDrawer.Int() > 0;
@ -845,4 +842,4 @@ public class NekoGeneralSettingsActivity extends BaseFragment {
this.invalidate();
}
}
}
}