mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-22 20:18:36 +00:00
Fix crash when closing app during voice memo.
This commit is contained in:
committed by
Alex Hart
parent
2f53c1a860
commit
ff5b024074
@@ -3807,7 +3807,9 @@ class ConversationFragment :
|
||||
}
|
||||
|
||||
override fun onRecorderCanceled(byUser: Boolean) {
|
||||
updateToggleButtonState()
|
||||
if (lifecycle.currentState.isAtLeast(Lifecycle.State.CREATED)) {
|
||||
updateToggleButtonState()
|
||||
}
|
||||
voiceMessageRecordingDelegate.onRecorderCanceled(byUser)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user