mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
Merge pull request #13065 from t895/cancel-button-fail
android: Show cancel button for the content install notice
This commit is contained in:
commit
839ded7d59
@ -498,7 +498,8 @@ class MainActivity : AppCompatActivity(), ThemeProvider {
|
|||||||
this@MainActivity,
|
this@MainActivity,
|
||||||
titleId = R.string.content_install_notice,
|
titleId = R.string.content_install_notice,
|
||||||
descriptionId = R.string.content_install_notice_description,
|
descriptionId = R.string.content_install_notice_description,
|
||||||
positiveAction = { homeViewModel.setContentToInstall(documents) }
|
positiveAction = { homeViewModel.setContentToInstall(documents) },
|
||||||
|
negativeAction = {}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}.show(supportFragmentManager, ProgressDialogFragment.TAG)
|
}.show(supportFragmentManager, ProgressDialogFragment.TAG)
|
||||||
|
Loading…
Reference in New Issue
Block a user