This commit is contained in:
Mirco Wittrien 2020-05-17 16:28:54 +02:00
parent 6f64805d36
commit 56580eab67
3 changed files with 15 additions and 8 deletions

View File

@ -7,17 +7,13 @@ var PinDMs = (_ => {
return class PinDMs {
getName () {return "PinDMs";}
getVersion () {return "1.6.9";}
getVersion () {return "1.7.0";}
getAuthor () {return "DevilBro";}
getDescription () {return "Allows you to pin DMs, making them appear at the top of your DMs/Guild-list.";}
constructor () {
this.changelog = {
"fixed":[["List flickering","Fixed the weird bugs where the list would jump around, flicker or leave huge gaps"],["Selected DM","Fixed issue where a selected DM outside of a category would not be marked as selected"]]
};
constructor () {
this.patchedModules = {
before: {
PrivateChannelsList: "render",
@ -491,7 +487,7 @@ var PinDMs = (_ => {
key: id,
channel: e.instance.props.channels[id],
selected: e.instance.props.selectedChannelId == id
}, e.instance.props.navigator.getItemProps({
}, (e.instance.props.navigator || e.instance.props.listNavigator).getItemProps({
index: e2.methodArguments[2]
}))) : null;

View File

@ -6314,7 +6314,8 @@ img[src="/assets/e8b66317ab0dc9ba3bf8d41a4f3ec914.png"] { /* videosettings opus
/* ---- 15.9. TOOLTIPS ---- */
.headerText-1h7zBw {
.headerText-1e7ZU0,
.bodyText-3yi6Dj {
color: rgb(var(--fontwhite1));
}
#app-mount .tooltip-2QfLtc {

View File

@ -1805,6 +1805,16 @@ img[src*="/assets/0f4d1ff76624bb45a3fee4189279ee92.svg"] + * + *:before {
border-top-color: rgb(var(--vaccentcolor));
}
.content-3O0wBS {
background-color: rgb(var(--vaccentcolor));
}
.content-3O0wBS .button-3zdF3z {
color: rgb(var(--vaccentcolor));
}
.pointer-3ClhC2 {
border-top-color: rgb(var(--vaccentcolor));
}
/* ---- 12.9. TOASTS ---- */
.toast-brand {