mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-20 13:30:15 -07:00
- Better implementation of Tools.ignoreNotch to work with all activities.
This commit is contained in:
parent
4ebf4cde5c
commit
12009282d4
4 changed files with 10 additions and 8 deletions
|
|
@ -66,7 +66,6 @@ import net.kdt.pojavlaunch.prefs.LauncherPreferences;
|
|||
import net.kdt.pojavlaunch.utils.JREUtils;
|
||||
import net.kdt.pojavlaunch.utils.LocaleUtils;
|
||||
import net.kdt.pojavlaunch.value.MinecraftAccount;
|
||||
import static net.kdt.pojavlaunch.prefs.LauncherPreferences.PREF_IGNORE_NOTCH;
|
||||
import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
|
||||
import org.apache.commons.compress.archivers.tar.TarArchiveInputStream;
|
||||
import org.apache.commons.compress.compressors.xz.XZCompressorInputStream;
|
||||
|
|
@ -99,8 +98,7 @@ public class PojavLoginActivity extends BaseActivity
|
|||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState){
|
||||
super.onCreate(savedInstanceState); // false);
|
||||
|
||||
Tools.ignoreNotch(PREF_IGNORE_NOTCH, this);
|
||||
|
||||
Tools.updateWindowSize(this);
|
||||
/*
|
||||
ControlData.pixelOf2dp = (int) Tools.dpToPx(2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue