@@ -27,7 +27,7 @@ export default class SyncFolds extends Plugin {
2727
2828 if ( hasSavedFolds ) {
2929 log ( 'Existing folds found in settings: importing to localStorage' )
30- await this . importFoldsToStorage ( )
30+ this . importFoldsToStorage ( )
3131 } else {
3232 log ( 'No folds in settings: exporting from localStorage' )
3333 await this . exportFoldsToFile ( )
@@ -48,7 +48,7 @@ export default class SyncFolds extends Plugin {
4848 id : 'import-fold-states' ,
4949 name : 'Import folds into local storage' ,
5050 callback : async ( ) => {
51- await this . importFoldsToStorage ( )
51+ this . importFoldsToStorage ( )
5252 new Notice ( 'Fold states applied from settings' )
5353 }
5454 } )
@@ -181,7 +181,7 @@ export default class SyncFolds extends Plugin {
181181 } , 150 )
182182 }
183183
184- async exportFoldsToFile ( ) {
184+ private async exportFoldsToFile ( ) {
185185 if ( ! this . settings . enableSync ) {
186186 log ( 'Sync disabled, skipping export' )
187187 return
@@ -216,7 +216,7 @@ export default class SyncFolds extends Plugin {
216216 log ( 'Saved' , Object . keys ( folds ) . length , 'fold states to settings' )
217217 }
218218
219- async importFoldsToStorage ( ) {
219+ private importFoldsToStorage ( ) {
220220 const folds = this . getFoldsObject ( )
221221
222222 log (
@@ -239,7 +239,7 @@ export default class SyncFolds extends Plugin {
239239 log ( 'Fold states imported successfully' )
240240 }
241241
242- async upsertFoldStateForFile ( filePath : string , value : string | null ) {
242+ private async upsertFoldStateForFile ( filePath : string , value : string | null ) {
243243 if ( ! this . settings . enableSync ) {
244244 log ( 'Sync disabled, skipping upsert' )
245245 return
0 commit comments