Fix: Set global emoji pack.

Fix: Use conditional links for bottom navigation.
Fix: Margin error on queued messages.
This commit is contained in:
Paul
2021-06-24 17:06:16 +01:00
parent acadd8ab17
commit 1aa2b1226a
4 changed files with 10 additions and 8 deletions

View File

@@ -2,6 +2,7 @@ import { filter } from ".";
import { SyncUpdateAction } from "./sync";
import { Sounds } from "../../assets/sounds/Audio";
import { Theme, ThemeOptions } from "../../context/Theme";
import { setEmojiPack } from "../../components/common/Emoji";
export type SoundOptions = {
[key in Sounds]?: boolean
@@ -57,7 +58,7 @@ export function settings(
state = {} as Settings,
action: SettingsAction
): Settings {
// setEmojiPack(state.appearance?.emojiPack ?? 'mutant');
setEmojiPack(state.appearance?.emojiPack ?? 'mutant');
switch (action.type) {
case "SETTINGS_SET_THEME":