mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-22 01:18:19 +01:00
Fixes global chat color setting
This commit is contained in:
@@ -11,12 +11,15 @@ import { SmartChatColorPicker } from './ChatColorPicker';
|
||||
import { ConversationColorType } from '../../types/Colors';
|
||||
|
||||
function renderChatColorPicker({
|
||||
setAllConversationColors,
|
||||
setGlobalDefaultConversationColor,
|
||||
}: {
|
||||
setAllConversationColors: (color: ConversationColorType) => unknown;
|
||||
setGlobalDefaultConversationColor: (color: ConversationColorType) => unknown;
|
||||
}): JSX.Element {
|
||||
return (
|
||||
<SmartChatColorPicker isInModal onSelectColor={setAllConversationColors} />
|
||||
<SmartChatColorPicker
|
||||
isGlobal
|
||||
onSelectColor={setGlobalDefaultConversationColor}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user