BaseFragment: do not allow tunnel to be null
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
5d66f6b2e5
commit
7364f2540e
@ -91,6 +91,8 @@ public abstract class BaseFragment extends Fragment implements OnSelectedTunnelC
|
||||
tunnel = ((TunnelListItemBinding) binding).getItem();
|
||||
else
|
||||
return;
|
||||
if (tunnel == null)
|
||||
return;
|
||||
|
||||
Application.onHaveBackend(backend -> {
|
||||
if (backend instanceof GoBackend) {
|
||||
|
Loading…
Reference in New Issue
Block a user