diff options
author | cyBerta <cyberta@riseup.net> | 2021-11-16 00:12:38 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2021-11-16 00:12:38 +0100 |
commit | 7436008db89d4ddf4f918fc220dc813b3289d0d7 (patch) | |
tree | c1db4a2d9287e5a5ea7225137270b8347f2666a2 /app/src/main/java/de | |
parent | 3fc8ce49531d475886b27921155c94fc3cabd177 (diff) |
add bridge indicator to bottom panel
Diffstat (limited to 'app/src/main/java/de')
-rw-r--r-- | app/src/main/java/de/blinkt/openvpn/core/VpnStatus.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/src/main/java/de/blinkt/openvpn/core/VpnStatus.java b/app/src/main/java/de/blinkt/openvpn/core/VpnStatus.java index a8fed675..4fa5a7b6 100644 --- a/app/src/main/java/de/blinkt/openvpn/core/VpnStatus.java +++ b/app/src/main/java/de/blinkt/openvpn/core/VpnStatus.java @@ -541,4 +541,8 @@ public class VpnStatus { public static boolean isAlwaysOn() { return isAlwaysOnBooting.get(); } + + public static boolean isUsingBridges() { + return lastConnectedProfile != null && lastConnectedProfile.mUsePluggableTransports; + } } |