forked from core/mobile_nebula
Clarify permissions error w/ Always On VPN (#119)
This commit is contained in:
parent
ffe2db283c
commit
4bbd6c01ea
|
@ -411,7 +411,7 @@ class MainActivity: FlutterActivity() {
|
||||||
if (resultCode != Activity.RESULT_OK) {
|
if (resultCode != Activity.RESULT_OK) {
|
||||||
// The user did not grant permissions
|
// The user did not grant permissions
|
||||||
siteContainer.updater.setState(false, "Disconnected")
|
siteContainer.updater.setState(false, "Disconnected")
|
||||||
return result.error("permissions", "Please grant VPN permissions to the app when requested", null)
|
return result.error("permissions", "Please grant VPN permissions to the app when requested. (If another VPN is running, please disable it now.)", null)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Start the VPN service
|
// Start the VPN service
|
||||||
|
|
Loading…
Reference in New Issue