View contact modal from call participants list
This commit is contained in:
parent
49a6fa6007
commit
378bd7487f
13 changed files with 233 additions and 62 deletions
|
@ -30,3 +30,14 @@ export function themeClassName2(theme: ThemeType): string {
|
|||
throw missingCaseError(theme);
|
||||
}
|
||||
}
|
||||
|
||||
export function getThemeByThemeType(theme: ThemeType): Theme {
|
||||
switch (theme) {
|
||||
case ThemeType.light:
|
||||
return Theme.Light;
|
||||
case ThemeType.dark:
|
||||
return Theme.Dark;
|
||||
default:
|
||||
throw missingCaseError(theme);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue