code formatting

This commit is contained in:
pypy
2020-11-01 12:29:01 +09:00
parent 1953098790
commit 8d3f448c1e

View File

@@ -727,13 +727,13 @@ CefSharp.BindObjectAsync(
}
});
var bias = new Date(Date.now() - 60000).toJSON();
var theme = "relax";
var theme = 'relax';
if (VRCXStorage.GetBool('isDarkMode') === true) {
theme = 'sunset';
}
notys.forEach((noty) => {
if (noty.created_at > bias) {
if (VRCXStorage.GetBool('isDarkMode') === true) {
theme = "sunset";
}
switch(noty.type) {
switch (noty.type) {
case 'OnPlayerJoined':
new Noty({
type: 'alert',