icons update

This commit is contained in:
2026-03-19 12:18:23 +07:00
parent 8d5919f35e
commit 5e4ff5b81c
55 changed files with 14 additions and 11 deletions
@@ -153,13 +153,23 @@ class TunVpnService : VpnService() {
Notification.Builder(this)
}
val vpnBlack = 0xFF121212.toInt()
val notification = builder
.setContentTitle("Netrunner VPN")
.setContentText("Защита активна")
.setSmallIcon(android.R.drawable.ic_dialog_info)
.setSmallIcon(android.R.drawable.ic_lock_lock)
.setContentIntent(contentPI)
.setOngoing(true)
.addAction(stopAction) // Используем новый объект Action
.addAction(stopAction)
.setColor(vpnBlack)
.setColorized(true)
.setVisibility(Notification.VISIBILITY_PUBLIC)
.setCategory(Notification.CATEGORY_SERVICE)
.build()
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {