From 486a6ae509bd582a968a8f657a23fe748b95e263 Mon Sep 17 00:00:00 2001 From: morethanwords Date: Fri, 5 Mar 2021 17:17:31 +0400 Subject: [PATCH] t --- src/components/sidebarLeft/tabs/chatFolders.ts | 2 +- src/components/sidebarLeft/tabs/editFolder.ts | 3 +-- src/components/sidebarLeft/tabs/settings.ts | 12 ++++++------ 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/components/sidebarLeft/tabs/chatFolders.ts b/src/components/sidebarLeft/tabs/chatFolders.ts index f67a9831..906b4ff9 100644 --- a/src/components/sidebarLeft/tabs/chatFolders.ts +++ b/src/components/sidebarLeft/tabs/chatFolders.ts @@ -76,7 +76,7 @@ export default class AppChatFoldersTab extends SliderSuperTab { } } - div.classList.add('category', 'rp-square'); + div.classList.add('category'); div.innerHTML = `

${RichTextProcessor.wrapEmojiText(filter.title)}

diff --git a/src/components/sidebarLeft/tabs/editFolder.ts b/src/components/sidebarLeft/tabs/editFolder.ts index 0e622f18..d513c2a2 100644 --- a/src/components/sidebarLeft/tabs/editFolder.ts +++ b/src/components/sidebarLeft/tabs/editFolder.ts @@ -87,8 +87,7 @@ export default class AppEditFolderTab extends SliderSuperTab { const button = Button('folder-category-button btn btn-primary btn-transparent', { icon: o.icon, text: o.text, - noRipple: o.withRipple ? undefined : true, - rippleSquare: true + noRipple: o.withRipple ? undefined : true }); if(o.name) { diff --git a/src/components/sidebarLeft/tabs/settings.ts b/src/components/sidebarLeft/tabs/settings.ts index bd74a408..a9d78dde 100644 --- a/src/components/sidebarLeft/tabs/settings.ts +++ b/src/components/sidebarLeft/tabs/settings.ts @@ -94,12 +94,12 @@ export default class AppSettingsTab extends SliderSuperTab { buttonsDiv.classList.add('profile-buttons'); const className = 'profile-button btn-primary btn-transparent'; - buttonsDiv.append(this.buttons.edit = Button(className, {icon: 'edit', rippleSquare: true, text: 'Edit Profile'})); - buttonsDiv.append(this.buttons.folders = Button(className, {icon: 'folder', rippleSquare: true, text: 'Chat Folders'})); - buttonsDiv.append(this.buttons.general = Button(className, {icon: 'settings', rippleSquare: true, text: 'General Settings'})); - buttonsDiv.append(this.buttons.notifications = Button(className, {icon: 'unmute', rippleSquare: true, text: 'Notifications', disabled: true})); - buttonsDiv.append(this.buttons.privacy = Button(className, {icon: 'lock', rippleSquare: true, text: 'Privacy and Security'})); - buttonsDiv.append(this.buttons.language = Button(className, {icon: 'language', rippleSquare: true, text: 'Language', disabled: true})); + buttonsDiv.append(this.buttons.edit = Button(className, {icon: 'edit', text: 'Edit Profile'})); + buttonsDiv.append(this.buttons.folders = Button(className, {icon: 'folder', text: 'Chat Folders'})); + buttonsDiv.append(this.buttons.general = Button(className, {icon: 'settings', text: 'General Settings'})); + buttonsDiv.append(this.buttons.notifications = Button(className, {icon: 'unmute', text: 'Notifications', disabled: true})); + buttonsDiv.append(this.buttons.privacy = Button(className, {icon: 'lock', text: 'Privacy and Security'})); + buttonsDiv.append(this.buttons.language = Button(className, {icon: 'language', text: 'Language', disabled: true})); this.scrollable.append(this.avatarElem, this.nameDiv, this.phoneDiv, buttonsDiv); this.scrollable.container.classList.add('profile-content-wrapper');