diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-03-09 09:55:05 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-03-09 09:55:05 -0600 |
commit | b87758a77022344e53ea3dbfc33e495c0bdd95de (patch) | |
tree | 45e1575a12199a5e26a677441eb93a0227743d32 /ui/src | |
parent | 9ceccc12b4bcbe6918a74d56257456408ac4c310 (diff) |
ObservableTunnel: pass right argument to state transition
Diffstat (limited to 'ui/src')
-rw-r--r-- | ui/src/main/java/com/wireguard/android/model/ObservableTunnel.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/main/java/com/wireguard/android/model/ObservableTunnel.java b/ui/src/main/java/com/wireguard/android/model/ObservableTunnel.java index ce3197f2..edd8bd68 100644 --- a/ui/src/main/java/com/wireguard/android/model/ObservableTunnel.java +++ b/ui/src/main/java/com/wireguard/android/model/ObservableTunnel.java @@ -112,7 +112,7 @@ public class ObservableTunnel extends BaseObservable implements Keyed<String>, T @Override public void onStateChange(final State newState) { - onStateChanged(state); + onStateChanged(newState); } @Nullable |