Sidebar sorting defaults

This commit is contained in:
Natsumi
2024-09-15 10:33:59 +12:00
parent 4a2ea2fde3
commit 74c4f7f981
+5 -1
View File
@@ -16056,7 +16056,11 @@ speechSynthesis.getVoices();
$app.data.sidebarSortMethods = JSON.parse( $app.data.sidebarSortMethods = JSON.parse(
await configRepository.getString( await configRepository.getString(
'VRCX_sidebarSortMethods', 'VRCX_sidebarSortMethods',
JSON.stringify(['', '', '']) JSON.stringify([
'Sort Private to Bottom',
'Sort by Time in Instance',
'Sort by Last Active'
])
) )
); );
if ($app.data.sidebarSortMethods?.length === 3) { if ($app.data.sidebarSortMethods?.length === 3) {