summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorrik <p3mal88@gmail.com>2022-11-08 08:28:48 +0100
committerrik <p3mal88@gmail.com>2022-11-08 08:28:48 +0100
commit0f7aebdf1d874978be874973f57d3ba763ddfbde (patch)
treeef1e716884f462a2fc5136f990dd3f7c45ea5e10 /app
parentAdd BigText style notification (diff)
downloadxManager-0f7aebdf1d874978be874973f57d3ba763ddfbde.tar
xManager-0f7aebdf1d874978be874973f57d3ba763ddfbde.tar.gz
xManager-0f7aebdf1d874978be874973f57d3ba763ddfbde.tar.bz2
xManager-0f7aebdf1d874978be874973f57d3ba763ddfbde.tar.lz
xManager-0f7aebdf1d874978be874973f57d3ba763ddfbde.tar.xz
xManager-0f7aebdf1d874978be874973f57d3ba763ddfbde.tar.zst
xManager-0f7aebdf1d874978be874973f57d3ba763ddfbde.zip
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java b/app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java
index 86534be..7d1b7f3 100644
--- a/app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java
+++ b/app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java
@@ -13783,11 +13783,13 @@ public class MainActivity extends AppCompatActivity {
public void _Reminder() {
try {
+ val contentText = "After installing and logging-in, make sure to reopen or force close the Spotify app to enable the mod features."
+
androidx.core.app.NotificationCompat.Builder builder = new androidx.core.app.NotificationCompat.Builder(MainActivity.this, "id 1")
.setSmallIcon(R.drawable.icon_notification)
.setSound(RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION))
.setContentTitle("IMPORTANT REMINDER")
- .setContentText("After installing and logging-in, make sure to reopen or force close the Spotify app to enable the mod features.")
+ .setContentText(contentText)
.setPriority(androidx.core.app.NotificationCompat.PRIORITY_MAX)
.setStyle(NotificationCompat.BigTextStyle().bigText(contentText))
.setAutoCancel(true);