This commit is contained in:
NekoInverter 2020-03-15 17:52:55 +08:00
parent ccf7efb448
commit 00f17459f8
No known key found for this signature in database
GPG Key ID: 280D6CCCF95715F9
1 changed files with 4 additions and 4 deletions

View File

@ -285,16 +285,16 @@ public class BaseActivity extends AppCompatActivity {
areYouSure(R.string.soft_reboot, (dialog, which) -> softReboot());
break;
case R.id.reboot_recovery:
reboot("recovery");
areYouSure(R.string.reboot_recovery, (dialog, which) -> reboot("recovery"));
break;
case R.id.reboot_bootloader:
reboot("bootloader");
areYouSure(R.string.reboot_bootloader, (dialog, which) -> reboot("bootloader"));
break;
case R.id.reboot_download:
reboot("download");
areYouSure(R.string.reboot_download, (dialog, which) -> reboot("download"));
break;
case R.id.reboot_edl:
reboot("edl");
areYouSure(R.string.reboot_edl, (dialog, which) -> reboot("edl"));
break;
}