diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 135e813..5a1f4bc 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -17,7 +17,7 @@ android { val versionMajor = 1 val versionMinor = 1 - val versionPatch = 5 + val versionPatch = 6 val versionBuild = 0 defaultConfig { diff --git a/app/src/main/java/com/zaneschepke/wireguardautotunnel/ui/screens/main/MainScreen.kt b/app/src/main/java/com/zaneschepke/wireguardautotunnel/ui/screens/main/MainScreen.kt index 20dfe0b..415987e 100644 --- a/app/src/main/java/com/zaneschepke/wireguardautotunnel/ui/screens/main/MainScreen.kt +++ b/app/src/main/java/com/zaneschepke/wireguardautotunnel/ui/screens/main/MainScreen.kt @@ -9,7 +9,6 @@ import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.Row -import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.padding import androidx.compose.foundation.lazy.LazyColumn @@ -73,7 +72,6 @@ fun MainScreen(viewModel: MainViewModel = hiltViewModel(), padding : PaddingValu val viewState = viewModel.viewState.collectAsStateWithLifecycle() var showAlertDialog by remember { mutableStateOf(false) } var selectedTunnel by remember { mutableStateOf(null) } - val settings by viewModel.settings.collectAsStateWithLifecycle() val state by viewModel.state.collectAsStateWithLifecycle(Tunnel.State.DOWN) val tunnelName by viewModel.tunnelName.collectAsStateWithLifecycle("") diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 43a9ddb..7b4b424 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -17,7 +17,7 @@ Monitoring network state changes VPN Connected Connected to tunnel - - VPN permission is required for the app to work properly. + VPN permission is required for the app to work properly. If this permission is not launching, please disable \"Always-on VPN\" in your phone settings for the official WireGuard mobile app and try again. Notifications permission is required for the app to work properly. Open Settings Add Trusted SSID