Skip to content

Commit 721cbda

Browse files
committed
Simplify 'HTK active' notification
1 parent e20bc3d commit 721cbda

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/src/main/java/tech/httptoolkit/android/ProxyVpnService.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,7 @@ class ProxyVpnService : VpnService(), IProtectSocket {
117117

118118
val notification: Notification = NotificationCompat.Builder(this, NOTIFICATION_CHANNEL_ID)
119119
.setContentIntent(pendingActivityIntent)
120-
.setContentTitle(getString(R.string.app_name))
121-
.setContentText(getString(R.string.vpn_active_notification_content))
120+
.setContentTitle(getString(R.string.vpn_active_notification_content))
122121
.setSmallIcon(R.drawable.ic_transparent_icon)
123122
.setLargeIcon(BitmapFactory.decodeResource(resources, R.drawable.ic_transparent_icon))
124123
.addAction(R.drawable.ic_transparent_icon, getString(R.string.vpn_active_notification_action), pendingServiceIntent)

0 commit comments

Comments
 (0)