notification fixed

This commit is contained in:
esefxdz committed 2026-09-06 13:07:37 +03:00
1 parent 4718a5912a
commit 6d8a923475
4 files changed
+5 -4

No files matched your search

@@ -655,7 +655,8 @@ class XrayVPNService : VpnService() {
android.app.Notification.Builder(this)
}
val icon = android.R.drawable.ic_dialog_info
val icon = resources.getIdentifier("notification_icon", "drawable", packageName)
.takeIf { it != 0 } ?: android.R.drawable.ic_dialog_info
val notification = builder
.setContentTitle("VPN Service")