Merge branch 'dev' into m_10.6.0
This commit is contained in:
commit
083eb47970
@ -206,6 +206,20 @@ public class NekoChatSettingsActivity extends BaseNekoXSettingsActivity implemen
|
||||
private UndoView tooltip;
|
||||
|
||||
public NekoChatSettingsActivity() {
|
||||
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);
|
||||
}
|
||||
if (!NekoConfig.showRepeat.Bool() || NaConfig.INSTANCE.getShowRepeatAsCopy().Bool()){
|
||||
cellGroup.rows.remove(autoReplaceRepeatRow);
|
||||
NaConfig.INSTANCE.getAutoReplaceRepeat().setConfigBool(false);
|
||||
}
|
||||
|
||||
addRowsToMap(cellGroup);
|
||||
}
|
||||
|
||||
@ -251,21 +265,6 @@ public class NekoChatSettingsActivity extends BaseNekoXSettingsActivity implemen
|
||||
}
|
||||
});
|
||||
|
||||
// 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);
|
||||
}
|
||||
if (!NekoConfig.showRepeat.Bool() || NaConfig.INSTANCE.getShowRepeatAsCopy().Bool()){
|
||||
cellGroup.rows.remove(autoReplaceRepeatRow);
|
||||
NaConfig.INSTANCE.getAutoReplaceRepeat().setConfigBool(false);
|
||||
}
|
||||
|
||||
listAdapter = new ListAdapter(context);
|
||||
|
||||
fragmentView = new FrameLayout(context);
|
||||
|
@ -245,6 +245,13 @@ public class NekoGeneralSettingsActivity extends BaseNekoXSettingsActivity {
|
||||
private UndoView restartTooltip;
|
||||
|
||||
public NekoGeneralSettingsActivity() {
|
||||
if (!NekoXConfig.isDeveloper()) {
|
||||
cellGroup.rows.remove(hideSponsoredMessageRow);
|
||||
}
|
||||
if (!BuildVars.isGServicesCompiled) {
|
||||
cellGroup.rows.remove(mapDriftingFixForGoogleMapsRow);
|
||||
}
|
||||
|
||||
addRowsToMap(cellGroup);
|
||||
}
|
||||
|
||||
@ -854,13 +861,13 @@ public class NekoGeneralSettingsActivity extends BaseNekoXSettingsActivity {
|
||||
}
|
||||
|
||||
private void setCanNotChange() {
|
||||
if (!NekoXConfig.isDeveloper())
|
||||
cellGroup.rows.remove(hideSponsoredMessageRow);
|
||||
// if (!NekoXConfig.isDeveloper())
|
||||
// cellGroup.rows.remove(hideSponsoredMessageRow);
|
||||
|
||||
if (!BuildVars.isGServicesCompiled) {
|
||||
NekoConfig.useOSMDroidMap.setConfigBool(true);
|
||||
((ConfigCellTextCheck) useOSMDroidMapRow).setEnabled(false);
|
||||
cellGroup.rows.remove(mapDriftingFixForGoogleMapsRow);
|
||||
// cellGroup.rows.remove(mapDriftingFixForGoogleMapsRow);
|
||||
} else {
|
||||
if (NekoConfig.useOSMDroidMap.Bool())
|
||||
((ConfigCellTextCheck) mapDriftingFixForGoogleMapsRow).setEnabled(false);
|
||||
|
Loading…
Reference in New Issue
Block a user