Enabled send chips

pull/194/merge
M66B 3 years ago
parent 2a5c3de8b6
commit 71e79f3689

@ -195,7 +195,7 @@ public class EditTextMultiAutoComplete extends AppCompatMultiAutoCompleteTextVie
try {
final Context context = getContext();
final Editable edit = getText();
final boolean send_chips = prefs.getBoolean("send_chips", !BuildConfig.PLAY_STORE_RELEASE);
final boolean send_chips = prefs.getBoolean("send_chips", true);
final boolean focus = hasFocus();
final int selStart = getSelectionStart();

@ -1606,7 +1606,7 @@ public class FragmentCompose extends FragmentBase {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean save_drafts = prefs.getBoolean("save_drafts", true);
boolean send_chips = prefs.getBoolean("send_chips", !BuildConfig.PLAY_STORE_RELEASE);
boolean send_chips = prefs.getBoolean("send_chips", true);
boolean send_dialog = prefs.getBoolean("send_dialog", true);
boolean image_dialog = prefs.getBoolean("image_dialog", true);
@ -1803,7 +1803,7 @@ public class FragmentCompose extends FragmentBase {
private void onMenuSendChips() {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
boolean send_chips = prefs.getBoolean("send_chips", !BuildConfig.PLAY_STORE_RELEASE);
boolean send_chips = prefs.getBoolean("send_chips", true);
prefs.edit().putBoolean("send_chips", !send_chips).apply();
etTo.setText(etTo.getText());

@ -571,7 +571,7 @@ public class FragmentOptionsSend extends FragmentBase implements SharedPreferenc
rgRe.check(prefs.getBoolean("alt_re", false) ? R.id.rbRe2 : R.id.rbRe1);
rgFwd.check(prefs.getBoolean("alt_fwd", false) ? R.id.rbFwd2 : R.id.rbFwd1);
swSendChips.setChecked(prefs.getBoolean("send_chips", !BuildConfig.PLAY_STORE_RELEASE));
swSendChips.setChecked(prefs.getBoolean("send_chips", true));
swSendReminders.setChecked(prefs.getBoolean("send_reminders", true));
int send_delayed = prefs.getInt("send_delayed", 0);

Loading…
Cancel
Save