mirror of
https://github.com/Team-xManager/xManager.git
synced 2024-10-06 05:37:58 +02:00
Add variable avoiding text repetition
This commit is contained in:
parent
8d13d39f86
commit
0f7aebdf1d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user