mirror of
https://github.com/MGislv/NekoX.git
synced 2024-07-04 11:13:36 +00:00
Re-enable "censored" features
This commit is contained in:
parent
60f770f123
commit
278acada50
|
@ -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);
|
listAdapter = new ListAdapter(context);
|
||||||
|
|
||||||
fragmentView = new FrameLayout(context);
|
fragmentView = new FrameLayout(context);
|
||||||
|
@ -594,4 +584,4 @@ public class NekoChatSettingsActivity extends BaseFragment implements Notificati
|
||||||
return new RecyclerListView.Holder(view);
|
return new RecyclerListView.Holder(view);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -737,9 +737,6 @@ public class NekoGeneralSettingsActivity extends BaseFragment {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setCanNotChange() {
|
private void setCanNotChange() {
|
||||||
if (!NekoXConfig.isDeveloper())
|
|
||||||
cellGroup.rows.remove(hideSponsoredMessageRow);
|
|
||||||
|
|
||||||
boolean enabled;
|
boolean enabled;
|
||||||
|
|
||||||
enabled = NekoConfig.largeAvatarInDrawer.Int() > 0;
|
enabled = NekoConfig.largeAvatarInDrawer.Int() > 0;
|
||||||
|
@ -845,4 +842,4 @@ public class NekoGeneralSettingsActivity extends BaseFragment {
|
||||||
this.invalidate();
|
this.invalidate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user