@@ -61,8 +61,8 @@ class StorageManager {
6161 await this . db . settings . add ( { key, value } ) ;
6262 }
6363
64- localStorage . setItem ( `gitlab_theme_ ${ key } ` , JSON . stringify ( value ) ) ;
65- this . setCookie ( `gitlab_theme_ ${ key } ` , JSON . stringify ( value ) , 365 ) ;
64+ localStorage . setItem ( `github_theme_ ${ key } ` , JSON . stringify ( value ) ) ;
65+ this . setCookie ( `github_theme_ ${ key } ` , JSON . stringify ( value ) , 365 ) ;
6666
6767 console . log ( `[Storage] Saved setting: ${ key } ` ) ;
6868 } catch ( error ) {
@@ -84,10 +84,10 @@ class StorageManager {
8484 if ( setting ) return setting . value ;
8585 }
8686
87- const localValue = localStorage . getItem ( `gitlab_theme_ ${ key } ` ) ;
87+ const localValue = localStorage . getItem ( `github_theme_ ${ key } ` ) ;
8888 if ( localValue ) return JSON . parse ( localValue ) ;
8989
90- const cookieValue = this . getCookie ( `gitlab_theme_ ${ key } ` ) ;
90+ const cookieValue = this . getCookie ( `github_theme_ ${ key } ` ) ;
9191 if ( cookieValue ) return JSON . parse ( cookieValue ) ;
9292
9393 return defaultValue ;
@@ -104,8 +104,8 @@ class StorageManager {
104104 */
105105 saveSettingFallback ( key , value ) {
106106 try {
107- localStorage . setItem ( `gitlab_theme_ ${ key } ` , JSON . stringify ( value ) ) ;
108- this . setCookie ( `gitlab_theme_ ${ key } ` , JSON . stringify ( value ) , 365 ) ;
107+ localStorage . setItem ( `github_theme_ ${ key } ` , JSON . stringify ( value ) ) ;
108+ this . setCookie ( `github_theme_ ${ key } ` , JSON . stringify ( value ) , 365 ) ;
109109 } catch ( error ) {
110110 console . error ( "[Storage] Fallback storage failed:" , error ) ;
111111 }
0 commit comments