Skip to content

Commit d2c0437

Browse files
committed
Remove enablePlatformColor API - instaed we have config for it
1 parent d2f544e commit d2c0437

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

src/style/colors.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,6 @@ export class Colors {
6969
this.shouldSupportDarkMode = true;
7070
}
7171

72-
/**
73-
* Should use RN PlatformColor API for retrieving design token colors from native
74-
*/
75-
enablePlatformColors() {
76-
Scheme.enablePlatformColors();
77-
}
78-
7972
/**
8073
* Add alpha to hex or rgb color
8174
* arguments:

src/style/scheme.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,6 @@ class Scheme {
9797
return this.schemes[this.getSchemeType()];
9898
}
9999

100-
// TODO: Remove this method, use config instead
101-
/**
102-
* Should use RN PlatformColor API for retrieving design token colors from native
103-
*/
104-
enablePlatformColors() {
105-
// this.usePlatformColors = true;
106-
}
107-
108100
/**
109101
* Add a change scheme event listener
110102
*/

0 commit comments

Comments
 (0)