Skip to content

Commit 8995859

Browse files
committed
set global user connection preference to true when changing protocol.
1 parent 1c3705e commit 8995859

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mobile/src/main/java/com/windscribe/mobile/ui/connection/ConnectionViewmodel.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,7 @@ class ConnectionViewmodelImpl @Inject constructor(
646646
showToast(com.windscribe.vpn.R.string.protocol_change_is_not_available_for_custom_config)
647647
} else {
648648
appScope.launch {
649+
preferences.globalUserConnectionPreference = true
649650
autoConnectionManager.changeProtocolInForeground()
650651
}
651652
}

0 commit comments

Comments
 (0)