Created
March 2, 2022 04:33
-
-
Save ShikaSD/76449c442b427419bbb33390260ea520 to your computer and use it in GitHub Desktop.
ReactNativeConfig with a feature flag for big text cache enabled
This file contains hidden or 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
new ReactNativeConfig() { | |
@Override | |
public boolean getBool(String s) { | |
return s.equals( | |
"react_fabric:enable_large_text_measure_cache_android"); | |
} | |
@Override | |
public long getInt64(String s) { | |
return 0; | |
} | |
@Override | |
public String getString(String s) { | |
return ""; | |
} | |
@Override | |
public double getDouble(String s) { | |
return 0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment