Skip to content

Commit

Permalink
[Mobile] Android: Pass the Gallery v2 Flag over from the editor (#33544)
Browse files Browse the repository at this point in the history
Pass the Gallery v2 Flag over from the editor on Android
  • Loading branch information
Antonis Lilis committed Sep 2, 2021
1 parent 3716881 commit a21a37e
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ data class GutenbergProps @JvmOverloads constructor(
?.let { putSerializable(PROP_STYLES, it) }
theme.getSerializable(PROP_FEATURES)
?.let { putSerializable(PROP_FEATURES, it) }
theme.getSerializable(PROP_IS_FSE_THEME)
?.let { putSerializable(PROP_IS_FSE_THEME, it) }
theme.getSerializable(PROP_GALLERY_WITH_IMAGE_BLOCKS)
?.let { putSerializable(PROP_GALLERY_WITH_IMAGE_BLOCKS, it) }
}
}

Expand Down Expand Up @@ -77,6 +81,8 @@ data class GutenbergProps @JvmOverloads constructor(
private const val PROP_GRADIENTS = "gradients"
private const val PROP_STYLES = "rawStyles"
private const val PROP_FEATURES = "rawFeatures"
private const val PROP_IS_FSE_THEME = "isFSETheme"
private const val PROP_GALLERY_WITH_IMAGE_BLOCKS = "galleryWithImageBlocks"

const val PROP_CAPABILITIES = "capabilities"
const val PROP_CAPABILITIES_CONTACT_INFO_BLOCK = "contactInfoBlock"
Expand Down

0 comments on commit a21a37e

Please sign in to comment.