This prevents accidental closing of dialog by clicking outside of the dialog.
This commit is contained in:
		
					parent
					
						
							
								06343a7170
							
						
					
				
			
			
				commit
				
					
						c638ad7e6b
					
				
			
		
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -89,6 +89,7 @@ fun <T> T.makeCaptionDialog( | |||
|         .setView(dialogLayout) | ||||
|         .setPositiveButton(android.R.string.ok, okListener) | ||||
|         .setNegativeButton(android.R.string.cancel, null) | ||||
|         .setCancelable(false) | ||||
|         .create() | ||||
| 
 | ||||
|     val window = dialog.window | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue