|
|
|
@ -11,7 +11,6 @@ import android.widget.Toast;
|
|
|
|
|
import androidx.annotation.NonNull;
|
|
|
|
|
import androidx.appcompat.app.AppCompatActivity;
|
|
|
|
|
import androidx.appcompat.widget.Toolbar;
|
|
|
|
|
import androidx.core.splashscreen.SplashScreen;
|
|
|
|
|
|
|
|
|
|
import org.citra.citra_emu.NativeLibrary;
|
|
|
|
|
import org.citra.citra_emu.R;
|
|
|
|
@ -49,9 +48,6 @@ public final class MainActivity extends AppCompatActivity implements MainView {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
protected void onCreate(Bundle savedInstanceState) {
|
|
|
|
|
SplashScreen splashScreen = SplashScreen.installSplashScreen(this);
|
|
|
|
|
splashScreen.setKeepOnScreenCondition(() -> !DirectoryInitialization.areCitraDirectoriesReady());
|
|
|
|
|
|
|
|
|
|
ThemeUtil.applyTheme(this);
|
|
|
|
|
|
|
|
|
|
super.onCreate(savedInstanceState);
|
|
|
|
|