We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfae9a4 commit c326907Copy full SHA for c326907
src/core/index.ios.ts
@@ -16,7 +16,7 @@ export class Themer {
16
onSurfaceColor: string | Color;
17
constructor() {
18
// create a default one to prevent multiple creations on widget side
19
- this.appColorScheme = MDCSemanticColorScheme.new();
+ this.appColorScheme = MDCSemanticColorScheme.alloc().init().initWithDefaults(MDCColorSchemeDefaults.Material201804);
20
if (this.appColorScheme.primaryColor) {
21
this.appColorScheme.primaryColorVariant = this.appColorScheme.primaryColor.colorWithAlphaComponent(0.24);
22
}
0 commit comments