mirror of
https://framagit.org/tom79/fedilab-tube
synced 2025-02-17 20:40:43 +01:00
Some improvements with nsfw dialog
This commit is contained in:
parent
b59d97279d
commit
2955206b07
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user