remove comments

This commit is contained in:
Zane Schepke 2024-05-10 23:49:38 -04:00
parent 2df1bb07ab
commit d531adede5
1 changed files with 0 additions and 3 deletions

View File

@ -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)