diff options
author | xC3FFF0E <78732474+xC3FFF0E@users.noreply.github.com> | 2022-12-09 10:31:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-09 10:31:19 +0100 |
commit | f53ad4a5a0f26fa761cacf294733e8303935be74 (patch) | |
tree | 7cec01aeae1153db56c73d60394b426580811e3c /app | |
parent | Update MainActivity.java (diff) | |
download | xManager-f53ad4a5a0f26fa761cacf294733e8303935be74.tar xManager-f53ad4a5a0f26fa761cacf294733e8303935be74.tar.gz xManager-f53ad4a5a0f26fa761cacf294733e8303935be74.tar.bz2 xManager-f53ad4a5a0f26fa761cacf294733e8303935be74.tar.lz xManager-f53ad4a5a0f26fa761cacf294733e8303935be74.tar.xz xManager-f53ad4a5a0f26fa761cacf294733e8303935be74.tar.zst xManager-f53ad4a5a0f26fa761cacf294733e8303935be74.zip |
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/com/xc3fff0e/xmanager/SplashActivity.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/src/main/java/com/xc3fff0e/xmanager/SplashActivity.java b/app/src/main/java/com/xc3fff0e/xmanager/SplashActivity.java index 1c4d7db..be18bd1 100644 --- a/app/src/main/java/com/xc3fff0e/xmanager/SplashActivity.java +++ b/app/src/main/java/com/xc3fff0e/xmanager/SplashActivity.java @@ -29,6 +29,8 @@ import androidx.fragment.app.DialogFragment; import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import com.google.android.gms.ads.MobileAds;
+import com.google.android.material.*;
+import com.google.firebase.FirebaseApp;
import com.wuyr.rippleanimation.*;
import java.io.*;
import java.text.*;
@@ -54,7 +56,7 @@ public class SplashActivity extends AppCompatActivity { super.onCreate(_savedInstanceState);
setContentView(R.layout.splash);
initialize(_savedInstanceState);
-
+ FirebaseApp.initializeApp(this);
MobileAds.initialize(this);
initializeLogic();
@@ -118,10 +120,8 @@ public class SplashActivity extends AppCompatActivity { title_splash.setTextSize((int)20);
}
else {
- if (9 == SketchwareUtil.getRandom((int)(0), (int)(9))) {
- title_splash.setText("Spotify but on steroids");
- title_splash.setTextSize((int)20);
- }
+ title_splash.setText("Spotify but on steroids");
+ title_splash.setTextSize((int)20);
}
}
}
@@ -160,7 +160,7 @@ public class SplashActivity extends AppCompatActivity { @Override
public void onBackPressed() {
- SketchwareUtil.showMessage(getApplicationContext(), "Can't Go Back");
+ com.google.android.material.snackbar.Snackbar.make(main_body, "Can't Go Back", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
}
public void _Dark_Navigation() {
if (Build.VERSION.SDK_INT >= 21) {
|