diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 9f0ad8e7..cf13a733 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -14,8 +14,8 @@ android { applicationId = "com.zaneschepke.wireguardautotunnel" minSdk = 26 targetSdk = 34 - versionCode = 31600 - versionName = "3.1.6" + versionCode = 31700 + versionName = "3.1.7" multiDexEnabled = true diff --git a/app/src/main/java/com/zaneschepke/wireguardautotunnel/service/tile/TunnelControlTile.kt b/app/src/main/java/com/zaneschepke/wireguardautotunnel/service/tile/TunnelControlTile.kt index 9e5fb78c..37eee628 100644 --- a/app/src/main/java/com/zaneschepke/wireguardautotunnel/service/tile/TunnelControlTile.kt +++ b/app/src/main/java/com/zaneschepke/wireguardautotunnel/service/tile/TunnelControlTile.kt @@ -42,14 +42,6 @@ class TunnelControlTile : TileService() { super.onStartListening() } - override fun onTileAdded() { - super.onTileAdded() - qsTile.contentDescription = this.resources.getString(R.string.toggle_vpn) - scope.launch { - updateTileState() - } - } - override fun onTileRemoved() { super.onTileRemoved() cancelJob() diff --git a/app/src/main/java/com/zaneschepke/wireguardautotunnel/ui/screens/config/ConfigScreen.kt b/app/src/main/java/com/zaneschepke/wireguardautotunnel/ui/screens/config/ConfigScreen.kt index 6d15e36b..ba9a9a27 100644 --- a/app/src/main/java/com/zaneschepke/wireguardautotunnel/ui/screens/config/ConfigScreen.kt +++ b/app/src/main/java/com/zaneschepke/wireguardautotunnel/ui/screens/config/ConfigScreen.kt @@ -99,7 +99,7 @@ fun ConfigScreen( ) { val context = LocalContext.current - val scope = rememberCoroutineScope { Dispatchers.IO } + val scope = rememberCoroutineScope() val clipboardManager: ClipboardManager = LocalClipboardManager.current val keyboardController = LocalSoftwareKeyboardController.current