mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Fix a bunch of random lint warnings.
This commit is contained in:
committed by
Nicholas Tinsley
parent
ce4b7c2d7f
commit
6922886395
@@ -87,16 +87,15 @@ public final class KbsSplashFragment extends Fragment {
|
||||
|
||||
@Override
|
||||
public boolean onOptionsItemSelected(@NonNull MenuItem item) {
|
||||
switch (item.getItemId()) {
|
||||
case R.id.menu_pin_learn_more:
|
||||
onLearnMore();
|
||||
return true;
|
||||
case R.id.menu_pin_skip:
|
||||
onPinSkipped();
|
||||
return true;
|
||||
if (item.getItemId() == R.id.menu_pin_learn_more) {
|
||||
onLearnMore();
|
||||
return true;
|
||||
} else if (item.getItemId() == R.id.menu_pin_skip) {
|
||||
onPinSkipped();
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
private void setUpRegLockEnabled() {
|
||||
|
||||
Reference in New Issue
Block a user