1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-19 20:35:34 +02:00
This commit is contained in:
syuilo
2026-05-01 10:02:39 +09:00
parent ebe5739ce3
commit 3ed6148f6a
2 changed files with 15 additions and 1 deletions

View File

@@ -222,6 +222,7 @@ const data = localStorage.getItem('roomData') != null ? JSON.parse(localStorage.
},
},
},
roomLightColor: [1.0, 0.9, 0.8],
installedObjects: [],
};
@@ -570,6 +571,19 @@ function showOtherMenu(ev: PointerEvent) {
}, {
text: 'Import',
action: impor,
}, {
text: 'Delete',
danger: true,
action: () => {
os.confirm({
type: 'warning',
title: i18n.ts.areYouSure,
}).then(({ canceled }) => {
if (canceled) return;
localStorage.removeItem('roomData');
window.location.reload();
});
},
}, {
type: 'divider',
}, {