Update FriendNotifications.plugin.js

This commit is contained in:
Mirco Wittrien 2023-11-24 11:11:40 +01:00
parent 57180b2ac5
commit c864ad7430
1 changed files with 1 additions and 20 deletions

View File

@ -191,26 +191,7 @@ module.exports = (_ => {
]
})
]
}) : BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, {
className: BDFDB.disCN.pageimagewrapper,
direction: BDFDB.LibraryComponents.Flex.Direction.VERTICAL,
align: BDFDB.LibraryComponents.Flex.Align.CENTER,
children: [
BDFDB.ReactUtils.createElement("div", {
className: BDFDB.disCNS.pageimage + BDFDB.disCNS.margintop20 + BDFDB.disCN.marginbottom20,
style: {
flex: "0 1 auto",
background: `url("${BDFDB.DiscordUtils.getTheme() == BDFDB.disCN.themelight ? "/assets/a72746e7108167af95c8.svg" : "/assets/01864c39871ce619d855.svg"}") center/contain no-repeat`,
width: "415px",
height: "200px"
}
}),
BDFDB.ReactUtils.createElement("div", {
className: BDFDB.disCN.pageimagetext,
children: BDFDB.LanguageUtils.LanguageStrings.AUTOCOMPLETE_NO_RESULTS_HEADER
})
]
});
}) : BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.EmptyStateImage, {});
}
};