diff options
author | xC3FFF0E <78732474+xC3FFF0E@users.noreply.github.com> | 2022-11-24 17:55:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-24 17:55:27 +0100 |
commit | d3ff883d8bf44f8a031aa50bd95521f2b4bde2cd (patch) | |
tree | 84d7a974515ac041a17c0b5aab8b9965ab544cd0 /app/src/main/java/com | |
parent | Update bug_report.yml (diff) | |
parent | Merge pull request #216 from Zkyclad/developer (diff) | |
download | xManager-d3ff883d8bf44f8a031aa50bd95521f2b4bde2cd.tar xManager-d3ff883d8bf44f8a031aa50bd95521f2b4bde2cd.tar.gz xManager-d3ff883d8bf44f8a031aa50bd95521f2b4bde2cd.tar.bz2 xManager-d3ff883d8bf44f8a031aa50bd95521f2b4bde2cd.tar.lz xManager-d3ff883d8bf44f8a031aa50bd95521f2b4bde2cd.tar.xz xManager-d3ff883d8bf44f8a031aa50bd95521f2b4bde2cd.tar.zst xManager-d3ff883d8bf44f8a031aa50bd95521f2b4bde2cd.zip |
Diffstat (limited to 'app/src/main/java/com')
-rw-r--r-- | app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java b/app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java index 17da8bc..7d1b7f3 100644 --- a/app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java +++ b/app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java @@ -13783,13 +13783,15 @@ 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);
androidx.core.app.NotificationManagerCompat notificationManager = androidx.core.app.NotificationManagerCompat.from(MainActivity.this);
|