mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
Fix of "Connect" button state after restoring of an app
This commit is contained in:
@@ -287,6 +287,8 @@ class VPNService : BaseVpnService(), LocalDnsService.Interface {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
set(value) {
|
set(value) {
|
||||||
|
field = value
|
||||||
|
|
||||||
if (value) {
|
if (value) {
|
||||||
mBinder.dispatchEvent(VPNServiceBinder.EVENTS.connected, "")
|
mBinder.dispatchEvent(VPNServiceBinder.EVENTS.connected, "")
|
||||||
mConnectionTime = System.currentTimeMillis()
|
mConnectionTime = System.currentTimeMillis()
|
||||||
|
|||||||
Reference in New Issue
Block a user