chore: simplify

This commit is contained in:
NextAlone 2022-03-21 03:44:32 +08:00
parent 2cdb4290a4
commit 47c2e909ed
No known key found for this signature in database
GPG Key ID: DBA7B0AEF8C1CD2C

View File

@ -101,9 +101,7 @@ public class NekoChatSettingsActivity extends BaseFragment implements Notificati
LocaleController.getString("MapPreviewProviderNobody", R.string.MapPreviewProviderNobody)
}, null));
private final AbstractConfigCell DoubleTapActionRow = cellGroup.appendCell(new ConfigCellCustom(CellGroup.ITEM_TYPE_TEXT_SETTINGS_CELL,true));
private final AbstractConfigCell messageMenuRow = cellGroup.appendCell(new ConfigCellSelectBox(LocaleController.getString("MessageMenu"), null, null, () -> {
showMessageMenuAlert();
}));
private final AbstractConfigCell messageMenuRow = cellGroup.appendCell(new ConfigCellSelectBox(LocaleController.getString("MessageMenu"), null, null, this::showMessageMenuAlert));
private final AbstractConfigCell textStyleRow = cellGroup.appendCell(new ConfigCellSelectBox(LocaleController.getString("TextStyle"), null, null, this::showTextStyleAlert));
/*private final AbstractConfigCell reactionsRow = cellGroup.appendCell(new ConfigCellSelectBox(null, NekoConfig.reactions,
new String[]{