BaseActivity: style

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2018-06-07 04:48:11 +02:00
parent f190db0754
commit 2ca27c2783
2 changed files with 2 additions and 4 deletions

View File

@ -56,9 +56,8 @@ public abstract class BaseActivity extends ThemeChangeAwareActivity {
if (Application.getBackendType() == GoBackend.class) {
final Intent intent = GoBackend.VpnService.prepare(this);
if (intent != null) {
if (intent != null)
startActivityForResult(intent, 0);
}
}
}

View File

@ -269,9 +269,8 @@ public class TunnelListFragment extends BaseFragment {
tunnels.size() + throwables.size(),
tunnels.size(), tunnels.size() + throwables.size());
if (binding != null) {
if (binding != null)
Snackbar.make(binding.mainContainer, message, Snackbar.LENGTH_LONG).show();
}
}
@Override