Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit 7634f39

Browse files
author
Gerardo
committed
Merge branch 'release/4.57.1' into crash/xml-rpc-media-sizes
# Conflicts: # WordPressKit.podspec
2 parents a4c3d55 + ed78f15 commit 7634f39

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

WordPressKit/RemoteBlockEditorSettings.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ public class RemoteBlockEditorSettings: Codable {
55
case isFSETheme = "__unstableEnableFullSiteEditingBlocks"
66
case galleryWithImageBlocks = "__unstableGalleryWithImageBlocks"
77
case quoteBlockV2 = "__experimentalEnableQuoteBlockV2"
8+
case listBlockV2 = "__experimentalEnableListBlockV2"
89
case rawStyles = "__experimentalStyles"
910
case rawFeatures = "__experimentalFeatures"
1011
case colors
@@ -14,6 +15,7 @@ public class RemoteBlockEditorSettings: Codable {
1415
public let isFSETheme: Bool
1516
public let galleryWithImageBlocks: Bool
1617
public let quoteBlockV2: Bool
18+
public let listBlockV2: Bool
1719
public let rawStyles: String?
1820
public let rawFeatures: String?
1921
public let colors: [[String: String]]?
@@ -40,6 +42,7 @@ public class RemoteBlockEditorSettings: Codable {
4042
self.isFSETheme = (try? map.decode(Bool.self, forKey: .isFSETheme)) ?? false
4143
self.galleryWithImageBlocks = (try? map.decode(Bool.self, forKey: .galleryWithImageBlocks)) ?? false
4244
self.quoteBlockV2 = (try? map.decode(Bool.self, forKey: .quoteBlockV2)) ?? false
45+
self.listBlockV2 = (try? map.decode(Bool.self, forKey: .listBlockV2)) ?? false
4346
self.rawStyles = RemoteBlockEditorSettings.parseToString(map, .rawStyles)
4447
self.rawFeatures = RemoteBlockEditorSettings.parseToString(map, .rawFeatures)
4548
self.colors = try? map.decode([[String: String]].self, forKey: .colors)

0 commit comments

Comments
 (0)