ObservableTunnel: pass right argument to state transition

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2020-03-09 09:55:05 -06:00
parent 056cf472d9
commit 134f9c014e

View File

@ -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