Disable the custom `BackHandler` when the `sendState` is `Done`. Otherwise, it can get into a loop in some cases where `postCancel()` calls the `OnDoneListener`, which triggers an up navigation, which then simulates a back press... and we end up in the custom `BackHandler` again. |
||
|---|---|---|
| .. | ||
| main | ||
| test/kotlin/io/element/android/features/messages/impl | ||