Fix post when editing a text only post

This commit is contained in:
Balazs Toldi 2023-08-03 09:02:08 +02:00
parent 394cff9ebe
commit 6d114f84fa
No known key found for this signature in database
GPG Key ID: 6C7D440036F99D58

View File

@ -174,7 +174,7 @@ public class EditPostActivity extends BaseActivity implements UploadImageEnabled
mGlide = Glide.with(this);
if (mPost.getUrl().matches(picturePattern)) {
if (mPost.getUrl() != null && mPost.getUrl().matches(picturePattern)) {
loadImage();
}