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 | 134f9c014e08e07eab65ff80b00f9ff5d1f36957 (patch) | |
tree | 45e1575a12199a5e26a677441eb93a0227743d32 /ui/src/main/java/com/wireguard | |
parent | 056cf472d98a135c9300b8e4ebe4cca109529cf2 (diff) |
ObservableTunnel: pass right argument to state transition
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/src/main/java/com/wireguard')
-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 |