2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #13065 from t895/cancel-button-fail

android: Show cancel button for the content install notice
This commit is contained in:
liamwhite 2024-02-18 10:25:04 -05:00 committed by GitHub
commit 839ded7d59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -498,7 +498,8 @@ class MainActivity : AppCompatActivity(), ThemeProvider {
this@MainActivity,
titleId = R.string.content_install_notice,
descriptionId = R.string.content_install_notice_description,
positiveAction = { homeViewModel.setContentToInstall(documents) }
positiveAction = { homeViewModel.setContentToInstall(documents) },
negativeAction = {}
)
}
}.show(supportFragmentManager, ProgressDialogFragment.TAG)