t
This commit is contained in:
parent
0541485f5e
commit
486a6ae509
@ -76,7 +76,7 @@ export default class AppChatFoldersTab extends SliderSuperTab {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
div.classList.add('category', 'rp-square');
|
div.classList.add('category');
|
||||||
div.innerHTML = `
|
div.innerHTML = `
|
||||||
<div>
|
<div>
|
||||||
<p>${RichTextProcessor.wrapEmojiText(filter.title)}</p>
|
<p>${RichTextProcessor.wrapEmojiText(filter.title)}</p>
|
||||||
|
@ -87,8 +87,7 @@ export default class AppEditFolderTab extends SliderSuperTab {
|
|||||||
const button = Button('folder-category-button btn btn-primary btn-transparent', {
|
const button = Button('folder-category-button btn btn-primary btn-transparent', {
|
||||||
icon: o.icon,
|
icon: o.icon,
|
||||||
text: o.text,
|
text: o.text,
|
||||||
noRipple: o.withRipple ? undefined : true,
|
noRipple: o.withRipple ? undefined : true
|
||||||
rippleSquare: true
|
|
||||||
});
|
});
|
||||||
|
|
||||||
if(o.name) {
|
if(o.name) {
|
||||||
|
@ -94,12 +94,12 @@ export default class AppSettingsTab extends SliderSuperTab {
|
|||||||
buttonsDiv.classList.add('profile-buttons');
|
buttonsDiv.classList.add('profile-buttons');
|
||||||
|
|
||||||
const className = 'profile-button btn-primary btn-transparent';
|
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.edit = Button(className, {icon: 'edit', text: 'Edit Profile'}));
|
||||||
buttonsDiv.append(this.buttons.folders = Button(className, {icon: 'folder', rippleSquare: true, text: 'Chat Folders'}));
|
buttonsDiv.append(this.buttons.folders = Button(className, {icon: 'folder', text: 'Chat Folders'}));
|
||||||
buttonsDiv.append(this.buttons.general = Button(className, {icon: 'settings', rippleSquare: true, text: 'General Settings'}));
|
buttonsDiv.append(this.buttons.general = Button(className, {icon: 'settings', text: 'General Settings'}));
|
||||||
buttonsDiv.append(this.buttons.notifications = Button(className, {icon: 'unmute', rippleSquare: true, text: 'Notifications', disabled: true}));
|
buttonsDiv.append(this.buttons.notifications = Button(className, {icon: 'unmute', text: 'Notifications', disabled: true}));
|
||||||
buttonsDiv.append(this.buttons.privacy = Button(className, {icon: 'lock', rippleSquare: true, text: 'Privacy and Security'}));
|
buttonsDiv.append(this.buttons.privacy = Button(className, {icon: 'lock', text: 'Privacy and Security'}));
|
||||||
buttonsDiv.append(this.buttons.language = Button(className, {icon: 'language', rippleSquare: true, text: 'Language', disabled: true}));
|
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.append(this.avatarElem, this.nameDiv, this.phoneDiv, buttonsDiv);
|
||||||
this.scrollable.container.classList.add('profile-content-wrapper');
|
this.scrollable.container.classList.add('profile-content-wrapper');
|
||||||
|
Loading…
Reference in New Issue
Block a user