File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,6 @@ export type Settings = {
66 language : string ;
77 redmineURL : string ;
88 redmineApiKey : string ;
9- options ?: {
10- // TODO: Remove me after a while
11- autoPauseOnSwitch : boolean ;
12- extendedSearch : boolean ;
13- roundTimeNearestQuarterHour : boolean ;
14- addSpentTimeForOtherUsers : boolean ;
15- cacheComments : boolean ;
16- addNotes : boolean ;
17- } ;
189 features : {
1910 autoPauseOnSwitch : boolean ;
2011 extendedSearch : boolean ;
@@ -66,13 +57,6 @@ const SettingsContext = createContext({
6657const SettingsProvider = ( { children } : { children : ReactNode } ) => {
6758 const { data, setData } = useStorage < Settings > ( "settings" , defaultSettings ) ;
6859
69- // Convert old settings format // TODO: Remove me after a while
70- if ( data . options && data . redmineURL ) {
71- data . features = data . options ;
72- delete data . options ;
73- setData ( data ) ;
74- }
75-
7660 return (
7761 < SettingsContext . Provider
7862 value = { {
You can’t perform that action at this time.
0 commit comments