feat: display account age next to join messages (#750)

This commit is contained in:
Jan
2022-09-20 19:23:06 +02:00
committed by GitHub
parent 23c12b73e3
commit 3912e40a8f
3 changed files with 57 additions and 8 deletions

View File

@@ -21,6 +21,7 @@ export interface ISettings {
"appearance:seasonal": boolean;
"appearance:transparency": boolean;
"appearance:show_send_button": boolean;
"appearance:show_account_age": boolean;
"appearance:theme:base": "dark" | "light";
"appearance:theme:overrides": Partial<Overrides>;
@@ -79,7 +80,7 @@ export default class Settings
*/
@action set<T extends keyof ISettings>(key: T, value: ISettings[T]) {
// Emoji needs to be immediately applied.
if (key === 'appearance:emoji') {
if (key === "appearance:emoji") {
setGlobalEmojiPack(value as EmojiPack);
}