mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-14 05:45:47 -04:00
Android: Use alert not toast for BIOS import error
This commit is contained in:
@ -314,7 +314,11 @@ public class MainActivity extends AppCompatActivity {
|
||||
}
|
||||
}
|
||||
} catch (IOException e) {
|
||||
Toast.makeText(this, "Failed to read BIOS image: " + e.getMessage(), Toast.LENGTH_LONG);
|
||||
new AlertDialog.Builder(this)
|
||||
.setMessage("Failed to read BIOS image: " + e.getMessage())
|
||||
.setPositiveButton("OK", (dialog, button) -> {})
|
||||
.create()
|
||||
.show();
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user