Skip to content

Commit c326907

Browse files
committed
fix: important ios fix to get default theme for everything!
1 parent bfae9a4 commit c326907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/index.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export class Themer {
1616
onSurfaceColor: string | Color;
1717
constructor() {
1818
// create a default one to prevent multiple creations on widget side
19-
this.appColorScheme = MDCSemanticColorScheme.new();
19+
this.appColorScheme = MDCSemanticColorScheme.alloc().init().initWithDefaults(MDCColorSchemeDefaults.Material201804);
2020
if (this.appColorScheme.primaryColor) {
2121
this.appColorScheme.primaryColorVariant = this.appColorScheme.primaryColor.colorWithAlphaComponent(0.24);
2222
}

0 commit comments

Comments
 (0)