mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 14:52:45 +01:00
android: Show cancel button for the content install notice
This commit is contained in:
parent
bdf8aca750
commit
55a7815064
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue