mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-04 00:49:02 -06:00 
			
		
		
		
	android: Show cancel button for the content install notice
This commit is contained in:
		@@ -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)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user