1
0
Fork 1

Possible fix crash when taking picture in land mode

This commit is contained in:
Arne 2024-11-25 12:32:53 +01:00
parent 2d4d01a2fb
commit 0c32a88c84

View file

@ -1588,8 +1588,7 @@ public class ConversationFragment extends XmppFragment
} else {
this.postponedActivityResult.push(activityResult);
}
ChatBackgroundHelper.onActivityResult(activity, requestCode, resultCode, data, conversation.getUuid());
if (conversation != null && conversation.getUuid() != null) ChatBackgroundHelper.onActivityResult(activity, requestCode, resultCode, data, conversation.getUuid());
if (requestCode == ChatBackgroundHelper.REQUEST_IMPORT_BACKGROUND) {
refresh();