mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
code formatting
This commit is contained in:
@@ -727,13 +727,13 @@ CefSharp.BindObjectAsync(
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
var bias = new Date(Date.now() - 60000).toJSON();
|
var bias = new Date(Date.now() - 60000).toJSON();
|
||||||
var theme = "relax";
|
var theme = 'relax';
|
||||||
|
if (VRCXStorage.GetBool('isDarkMode') === true) {
|
||||||
|
theme = 'sunset';
|
||||||
|
}
|
||||||
notys.forEach((noty) => {
|
notys.forEach((noty) => {
|
||||||
if (noty.created_at > bias) {
|
if (noty.created_at > bias) {
|
||||||
if (VRCXStorage.GetBool('isDarkMode') === true) {
|
switch (noty.type) {
|
||||||
theme = "sunset";
|
|
||||||
}
|
|
||||||
switch(noty.type) {
|
|
||||||
case 'OnPlayerJoined':
|
case 'OnPlayerJoined':
|
||||||
new Noty({
|
new Noty({
|
||||||
type: 'alert',
|
type: 'alert',
|
||||||
|
|||||||
Reference in New Issue
Block a user