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;
|
||||
dialogBuilder = new AlertDialog.Builder(PeertubeActivity.this);
|
||||
dialogBuilder.setTitle(R.string.nsfw_title_warning);
|
||||
dialogBuilder.setCancelable(false);
|
||||
dialogBuilder.setMessage(R.string.nsfw_message_warning);
|
||||
dialogBuilder.setNegativeButton(R.string.no, (dialog, id) -> {
|
||||
dialog.dismiss();
|
||||
|
|
Loading…
Reference in New Issue