Skip to content

Commit 1dfb0ac

Browse files
Pivouaneemersion
authored andcommitted
fix: handle potential null values in app/view/themes directory
Signed-off-by: Pivouane (Pierre Santamaria) <[email protected]>
1 parent 3fce925 commit 1dfb0ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/app/view/themes/theme-base.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import {ThemeRegistration} from "./theme-registration";
22
import {StaticDomTags} from "../editor-main-view/data-views/static.dom.tags";
33

44
export class ThemeBase {
5-
themeRegistration: ThemeRegistration = null;
6-
backgroundColor: string = null;
7-
backgroundStreckengraphikColor: string = null;
5+
themeRegistration: ThemeRegistration;
6+
backgroundColor: string;
7+
backgroundStreckengraphikColor: string;
88
isDark = false;
99

1010
constructor(

0 commit comments

Comments
 (0)