diff --git a/build.gradle b/build.gradle index fb66ecbd02..9123a568f2 100644 --- a/build.gradle +++ b/build.gradle @@ -61,7 +61,7 @@ dependencies { } playstoreImplementation 'com.android.installreferrer:installreferrer:2.2' implementation 'com.github.open-keychain.open-keychain:openpgp-api:v5.7.1' - implementation("com.github.CanHub:Android-Image-Cropper:2.0.0") + implementation("com.github.CanHub:Android-Image-Cropper:2.2.0") implementation 'im.conversations.webrtc:webrtc-android:119.0.1' implementation 'org.jitsi:org.otr4j:0.23' implementation 'org.bouncycastle:bcmail-jdk18on:1.78.1' diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java index 8cd328a865..45d19424f5 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java +++ b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java @@ -3742,9 +3742,9 @@ public class ConversationFragment extends XmppFragment @Override public void onResume() { super.onResume(); - updateChatBG(); disableEncrpytionForExceptions(); binding.messagesView.post(this::fireReadEvent); + updateChatBG(); } private void disableEncrpytionForExceptions() { @@ -4309,7 +4309,6 @@ public class ConversationFragment extends XmppFragment @Override public void onStart() { super.onStart(); - updateChatBG(); disableEncrpytionForExceptions(); if (this.reInitRequiredOnStart && this.conversation != null) { final Bundle extras = pendingExtras.pop(); @@ -4324,6 +4323,7 @@ public class ConversationFragment extends XmppFragment findAndReInitByUuidOrArchive(uuid); } } + updateChatBG(); } @Override