Skip to content

Commit 5ffe778

Browse files
committed
Fixes broken Parcellable implementation in ModalContainer
Don't know how I merged it this way. :(
1 parent 5b83f0d commit 5ffe778

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kotlin/workflow-ui-android/src/main/java/com/squareup/workflow/ui/ModalContainer.kt

+2
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,8 @@ abstract class ModalContainer<M : Any>
270270
flags: Int
271271
) {
272272
super.writeToParcel(out, flags)
273+
@Suppress("UNCHECKED_CAST")
274+
out.writeSparseArray(baseViewState as SparseArray<Any>)
273275
out.writeTypedList(dialogBundles)
274276
}
275277

0 commit comments

Comments
 (0)