mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Make OverrideColorScheme fun interface (#44059)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44059 Changelog: [Internal] Reviewed By: christophpurrer Differential Revision: D56062919 fbshipit-source-id: 3181608ae6be5250831ce2d2f22ab2a424409168
This commit is contained in:
committed by
Facebook GitHub Bot
parent
72a78d674c
commit
a666718879
+1
-1
@@ -27,7 +27,7 @@ constructor(
|
||||
private var colorScheme = colorSchemeForCurrentConfiguration(reactContext)
|
||||
|
||||
/** Optional override to the current color scheme */
|
||||
public interface OverrideColorScheme {
|
||||
public fun interface OverrideColorScheme {
|
||||
/**
|
||||
* Color scheme will use the return value instead of the current system configuration. Available
|
||||
* scheme: {light, dark}
|
||||
|
||||
Reference in New Issue
Block a user