1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 21:06:50 +01:00

Fixed two strings incorrectly being merged together.

This commit is contained in:
TaaviE 2018-01-21 03:37:17 +02:00 committed by Carsten Pfeiffer
parent a74ffca249
commit 32dcdc24ba

View File

@ -86,7 +86,7 @@ public class GB {
Boolean connected = device.isInitialized();
NotificationCompat.Builder builder = new NotificationCompat.Builder(context);
builder.setContentTitle(deviceName)
.setTicker(deviceName + text)
.setTicker(deviceName + " - " + text)
.setContentText(text)
.setSmallIcon(connected ? R.drawable.ic_notification : R.drawable.ic_notification_disconnected)
.setContentIntent(getContentIntent(context))