Skip to content

Commit

Permalink
WIP: Enable unified Spannable building
Browse files Browse the repository at this point in the history
  • Loading branch information
cubuspl42 committed Feb 22, 2024
1 parent 7f2467e commit ef4d875
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,7 @@ public class ReactNativeFeatureFlagsCxxAccessor : ReactNativeFeatureFlagsAccesso
}

override fun enableSpannableBuildingUnification(): Boolean {
var cached = enableSpannableBuildingUnificationCache
if (cached == null) {
cached = ReactNativeFeatureFlagsCxxInterop.enableSpannableBuildingUnification()
enableSpannableBuildingUnificationCache = cached
}
return cached
return true
}

override fun enableCustomDrawOrderFabric(): Boolean {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public open class ReactNativeFeatureFlagsDefaults : ReactNativeFeatureFlagsProvi

override fun batchRenderingUpdatesInEventLoop(): Boolean = false

override fun enableSpannableBuildingUnification(): Boolean = false
override fun enableSpannableBuildingUnification(): Boolean = true

override fun enableCustomDrawOrderFabric(): Boolean = false

Expand Down

0 comments on commit ef4d875

Please sign in to comment.