Enable by default

This commit is contained in:
tom79 2019-07-23 11:23:51 +02:00
parent 831ea9fd1c
commit c9885ac41f
2 changed files with 2 additions and 2 deletions

View File

@ -3950,7 +3950,7 @@ public class TootActivity extends BaseActivity implements UploadStatusDelegate,
return false;
}
SharedPreferences sharedpreferences = getSharedPreferences(Helper.APP_PREFS, MODE_PRIVATE);
return sharedpreferences.getBoolean(Helper.SET_WYSIWYG, false);
return sharedpreferences.getBoolean(Helper.SET_WYSIWYG, true);
}
private void renderEditor(){

View File

@ -1048,7 +1048,7 @@ public class ContentSettingsFragment extends Fragment implements ScreenShotable
set_wysiwyg_container.setVisibility(View.VISIBLE);
}
boolean wysiwyg = sharedpreferences.getBoolean(Helper.SET_WYSIWYG, false);
boolean wysiwyg = sharedpreferences.getBoolean(Helper.SET_WYSIWYG, true);
final CheckBox set_wysiwyg = rootView.findViewById(R.id.set_wysiwyg);
set_wysiwyg.setChecked(wysiwyg);