Skip to content

Commit bc62d50

Browse files
committed
fix(core): themer fix
1 parent 6602ab0 commit bc62d50

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/core/index.android.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ export class Themer {
7777
}
7878

7979
setAccentColor(value: string | Color) {
80-
if (!this.accentColor) {
81-
this.accentColor = new Color(getAttrColor(getContext(), 'colorAccent'));
82-
}
8380
this.accentColor = value;
8481
}
8582
getAccentColor(): string | Color {
83+
if (!this.accentColor) {
84+
this.accentColor = new Color(getAttrColor(getContext(), 'colorAccent'));
85+
}
8686
return this.accentColor;
8787
}
8888

0 commit comments

Comments
 (0)