aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/ml
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2023-09-20 21:02:14 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2023-09-20 21:02:14 +0000
commit0ea7b4f80a6589af5a590495123424690c4de4f1 (patch)
treee714402792ff0c8a8cfd6e73b53711566a647f35 /app/src/main/java/ml
parent3e4068442f1e78e76770b18427ed266a392fb896 (diff)
downloadinfinity-for-reddit-0ea7b4f80a6589af5a590495123424690c4de4f1.tar
infinity-for-reddit-0ea7b4f80a6589af5a590495123424690c4de4f1.tar.gz
infinity-for-reddit-0ea7b4f80a6589af5a590495123424690c4de4f1.tar.bz2
infinity-for-reddit-0ea7b4f80a6589af5a590495123424690c4de4f1.tar.lz
infinity-for-reddit-0ea7b4f80a6589af5a590495123424690c4de4f1.tar.xz
infinity-for-reddit-0ea7b4f80a6589af5a590495123424690c4de4f1.tar.zst
infinity-for-reddit-0ea7b4f80a6589af5a590495123424690c4de4f1.zip
New splash screen.
Diffstat (limited to 'app/src/main/java/ml')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/activities/MainActivity.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/MainActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/MainActivity.java
index 6ce906da..df9274f5 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/MainActivity.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/MainActivity.java
@@ -33,6 +33,7 @@ import androidx.appcompat.app.AppCompatDelegate;
import androidx.coordinatorlayout.widget.CoordinatorLayout;
import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;
+import androidx.core.splashscreen.SplashScreen;
import androidx.drawerlayout.widget.DrawerLayout;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentActivity;
@@ -236,6 +237,8 @@ public class MainActivity extends BaseActivity implements SortTypeSelectionCallb
@Override
protected void onCreate(Bundle savedInstanceState) {
+ SplashScreen.installSplashScreen(this);
+
((Infinity) getApplication()).getAppComponent().inject(this);
setTheme(R.style.AppTheme_NoActionBarWithTransparentStatusBar);