mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 06:43:56 +01:00 
			
		
		
		
	add cancel button (#6078)
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
This commit is contained in:
		
							parent
							
								
									dec56a3342
								
							
						
					
					
						commit
						a6444968fa
					
				
					 16 changed files with 67 additions and 24 deletions
				
			
		|  | @ -139,6 +139,7 @@ class QuizActivity : AppCompatActivity() { | |||
|             .setTitle(title) | ||||
|             .setMessage(message) | ||||
|             .setCancelable(false) | ||||
|             .setNegativeButton(R.string.cancel){_,_ -> } | ||||
|             .setPositiveButton(R.string.continue_message) { dialog, _ -> | ||||
|                 questionIndex++ | ||||
|                 if (questionIndex == quiz.size) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Parneet Singh
						Parneet Singh