diff --git a/app/src/main/java/com/zaneschepke/wireguardautotunnel/service/notification/WireGuardNotification.kt b/app/src/main/java/com/zaneschepke/wireguardautotunnel/service/notification/WireGuardNotification.kt index eb6c951..4259c36 100644 --- a/app/src/main/java/com/zaneschepke/wireguardautotunnel/service/notification/WireGuardNotification.kt +++ b/app/src/main/java/com/zaneschepke/wireguardautotunnel/service/notification/WireGuardNotification.kt @@ -10,6 +10,7 @@ import android.graphics.Color import androidx.core.app.NotificationCompat import com.zaneschepke.wireguardautotunnel.R import com.zaneschepke.wireguardautotunnel.ui.MainActivity +import com.zaneschepke.wireguardautotunnel.ui.SplashActivity import dagger.hilt.android.qualifiers.ApplicationContext import javax.inject.Inject @@ -59,7 +60,7 @@ class WireGuardNotification @Inject constructor(@ApplicationContext private val } notificationManager.createNotificationChannel(channel) val pendingIntent: PendingIntent = - Intent(context, MainActivity::class.java).let { notificationIntent -> + Intent(context, SplashActivity::class.java).let { notificationIntent -> PendingIntent.getActivity( context, 0,