diff --git a/app/src/main/java/com/zaneschepke/wireguardautotunnel/service/foreground/WatcherState.kt b/app/src/main/java/com/zaneschepke/wireguardautotunnel/service/foreground/WatcherState.kt index eea2217..5e6c02d 100644 --- a/app/src/main/java/com/zaneschepke/wireguardautotunnel/service/foreground/WatcherState.kt +++ b/app/src/main/java/com/zaneschepke/wireguardautotunnel/service/foreground/WatcherState.kt @@ -6,14 +6,11 @@ import com.zaneschepke.wireguardautotunnel.data.domain.TunnelConfig data class WatcherState( val isWifiConnected: Boolean = false, val config: TunnelConfig? = null, - //val vpnStatus: TunnelState = TunnelState.DOWN, val isEthernetConnected: Boolean = false, val isMobileDataConnected: Boolean = false, val currentNetworkSSID: String = "", val settings: Settings = Settings() ) { - - //private fun isVpnConnected() = vpnStatus == TunnelState.UP fun isEthernetConditionMet(): Boolean { return (isEthernetConnected && settings.isTunnelOnEthernetEnabled)