mirror of
				https://framagit.org/tom79/fedilab-tube
				synced 2025-06-05 21:09:11 +02:00 
			
		
		
		
	Some improvements with nsfw dialog
This commit is contained in:
		| @@ -1170,6 +1170,7 @@ public class PeertubeActivity extends AppCompatActivity implements CommentListAd | |||||||
|             AlertDialog.Builder dialogBuilder; |             AlertDialog.Builder dialogBuilder; | ||||||
|             dialogBuilder = new AlertDialog.Builder(PeertubeActivity.this); |             dialogBuilder = new AlertDialog.Builder(PeertubeActivity.this); | ||||||
|             dialogBuilder.setTitle(R.string.nsfw_title_warning); |             dialogBuilder.setTitle(R.string.nsfw_title_warning); | ||||||
|  |             dialogBuilder.setCancelable(false); | ||||||
|             dialogBuilder.setMessage(R.string.nsfw_message_warning); |             dialogBuilder.setMessage(R.string.nsfw_message_warning); | ||||||
|             dialogBuilder.setNegativeButton(R.string.no, (dialog, id) -> { |             dialogBuilder.setNegativeButton(R.string.no, (dialog, id) -> { | ||||||
|                 dialog.dismiss(); |                 dialog.dismiss(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user