This repository has been archived by the owner on Nov 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 954
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove usage of ultralight from NT uidebugger
Summary: using Ultralight is problematic for uidebugger since UIDebugger is used in contexts where ultralight isnt (Open source & flipper / litho sample apps in buck) The new approach is a tad hacky, we add a descriptor that handles debug component (the litho wrapper for litho Component class), this new descriptor can also handle NT if the underlying component is an NT component, this is recognised by the WrappedNTComponent class. If so we add the additional parts for the desktop. This descriptor is manually added in apps that have NT, currently just fb4a The hacky part is we overrite the original descriptor in the registry, but given how DebugComponent works and is used regardless of if we are NT / Litho i dont see a better way Differential Revision: D57105063 fbshipit-source-id: 63e291c22c566ff52277013fe1b945f8c41464c1
- Loading branch information
1 parent
2a83b08
commit b92446d
Showing
3 changed files
with
10 additions
and
45 deletions.
There are no files selected for viewing
19 changes: 0 additions & 19 deletions
19
.../com/facebook/flipper/plugins/uidebugger/litho/ILithoDebugComponentDescriptorExtension.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters