Fixed viewport height option

This commit is contained in:
M66B
2024-06-05 18:46:30 +02:00
parent 44d96d1ca9
commit 4978490229

View File

@@ -2418,7 +2418,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
int dvh = WebViewEx.getDefaultViewportHeight(getContext());
int vh = prefs.getInt("viewport_height", dvh);
etViewportHeight.setHint(vh == dvh ? null : Integer.toString(dvh));
etViewportHeight.setText(Integer.toString(vh));
swIgnoreFormattedSize.setChecked(prefs.getBoolean("ignore_formatted_size", false));
swShowRecent.setChecked(prefs.getBoolean("show_recent", false));