Commit 31ff353b authored by Fahim Salam Chowdhury's avatar Fahim Salam Chowdhury 👽
Browse files

Add missing onRestoreInstanceState override on ComposeActivity


In commit 73a0137d, to resolve merge
conflict, `onRestoreInstanceState` code commented out, which was
introduced in 8e4ff3ec commit by
upstream maintainer. As it can introduce bug which is not present in
upstream & as we don't modified anything which this code do, we need to
revert back to upstream change.
parent e56fe114
Pipeline #185042 passed with stage
in 4 minutes and 46 seconds
......@@ -392,6 +392,11 @@ class ComposeActivity : QkThemedActivity(), ComposeView {
override fun onRestoreInstanceState(savedInstanceState: Bundle?) {
cameraDestination = savedInstanceState?.getParcelable(CameraDestinationKey)
override fun onBackPressed() = backPressedIntent.onNext(Unit)
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment