Revert "Add theme URL param and adjust cpd theme based on it."

This reverts commit f613b17824.
This commit is contained in:
Timo K
2024-02-21 21:45:11 +01:00
parent f613b17824
commit 30b3ba302e
5 changed files with 46 additions and 80 deletions

View File

@@ -130,11 +130,6 @@ export interface UrlParams {
* This is useful for video rooms.
*/
returnToLobby: boolean;
/**
* The theme to use for element call.
* can be "light", "dark", "light-hc" or "dark-hc".
*/
theme: string | null;
}
// This is here as a stopgap, but what would be far nicer is a function that
@@ -234,7 +229,6 @@ export const getUrlParams = (
perParticipantE2EE: parser.getFlagParam("perParticipantE2EE"),
skipLobby: parser.getFlagParam("skipLobby"),
returnToLobby: parser.getFlagParam("returnToLobby"),
theme: parser.getParam("theme"),
};
};