Fix localization issue

This commit is contained in:
Mygod
2018-01-21 23:18:28 -08:00
parent cccb9cf247
commit 1f697034a3
3 changed files with 3 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ object ServiceNotification {
val builder = NotificationCompat.Builder(context, CHANNEL)
.setWhen(0)
.setColor(ContextCompat.getColor(context, R.color.colorPrimary))
.setContentTitle("VPN tethering active")
.setContentTitle(context.getText(R.string.notification_tethering_title))
.setSmallIcon(R.drawable.ic_device_wifi_tethering)
.setContentIntent(PendingIntent.getActivity(context, 0,
Intent(context, MainActivity::class.java), PendingIntent.FLAG_UPDATE_CURRENT))