SYNC: fixed status bar color

This commit is contained in:
SPRINX0\prochazka
2025-06-13 15:13:50 +02:00
committed by Diflow
parent 50bb6a1d19
commit 8737ab077b

View File

@@ -48,9 +48,10 @@ export function useConnectionColor(
useConnectionFallback = true useConnectionFallback = true
) { ) {
const connections = useConnectionList(); const connections = useConnectionList();
return derived([connections, currentThemeDefinition], ([$connections, $themeDef]) => return derived([connections, currentThemeDefinition, cloudConnectionsStore], ([$connections, $themeDef, $cloudConnectionsStore]) =>
getConnectionColor( getConnectionColor(
$connections, $connections,
$cloudConnectionsStore,
dbid, dbid,
themeType ?? $themeDef?.themeType, themeType ?? $themeDef?.themeType,
colorIndex, colorIndex,