aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-06-07 04:12:42 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-06-07 04:12:42 +0200
commit712b6c6f600ef6eb683d356a6e9a05e9415b7e12 (patch)
treecba521a2a357e75ed39b64e2b4242e233ebccc8f /app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java
parentVersionPreference: account for checking state and move away from tools installer (diff)
downloadwireguard-android-712b6c6f600ef6eb683d356a6e9a05e9415b7e12.tar.xz
wireguard-android-712b6c6f600ef6eb683d356a6e9a05e9415b7e12.zip
Give Samuel heart attack by removing Dagger
Diffstat (limited to 'app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java')
-rw-r--r--app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java b/app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java
index 5eeb720e..ea03077c 100644
--- a/app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java
+++ b/app/src/main/java/com/wireguard/android/fragment/TunnelEditorFragment.java
@@ -128,7 +128,7 @@ public class TunnelEditorFragment extends BaseFragment {
}
if (tunnel == null) {
Log.d(TAG, "Attempting to create new tunnel " + binding.getConfig().getName());
- final TunnelManager manager = Application.getComponent().getTunnelManager();
+ final TunnelManager manager = Application.getTunnelManager();
manager.create(binding.getConfig().getName(), newConfig)
.whenComplete(this::onTunnelCreated);
} else if (!tunnel.getName().equals(binding.getConfig().getName())) {