Style bug hotfix and Loader testing

This commit is contained in:
Sean Edmunds
2025-04-10 15:36:59 -05:00
parent b0f003f476
commit 12f6ac82a0
5 changed files with 53 additions and 4 deletions

View File

@@ -92,7 +92,6 @@ function SettingsButton() {
setAllThemeData(allThemes);
}
}, [allThemes, isAllThemesFetched]);
return (
<>
{overlayOpened && <Overlay pos={'fixed'} />}
@@ -189,7 +188,7 @@ function SettingsButton() {
style={{
backgroundColor:
currentTheme === 'random'
? `${theme.searchColor === theme.primaryColor ? theme.searchColor.substring(0, 7) : theme.primaryColor.substring(0, 7)}88`
? `${theme?.searchColor === theme.primaryColor ? theme.searchColor?.substring(0, 7) : theme.primaryColor?.substring(0, 7)}88`
: 'transparent',
color:
currentTheme === 'random'