File tree Expand file tree Collapse file tree 2 files changed +1
-25
lines changed
src/renderer/store/modules Expand file tree Collapse file tree 2 files changed +1
-25
lines changed Original file line number Diff line number Diff line change @@ -14,34 +14,18 @@ const state = {
14
14
const getters = {
15
15
getSubscriptionCacheReady : ( state ) => state . subscriptionCacheReady ,
16
16
17
- getVideoCache : ( state ) => {
18
- return state . videoCache
19
- } ,
20
-
21
17
getVideoCacheByChannel : ( state ) => ( channelId ) => {
22
18
return state . videoCache [ channelId ]
23
19
} ,
24
20
25
- getShortsCache : ( state ) => {
26
- return state . shortsCache
27
- } ,
28
-
29
21
getShortsCacheByChannel : ( state ) => ( channelId ) => {
30
22
return state . shortsCache [ channelId ]
31
23
} ,
32
24
33
- getLiveCache : ( state ) => {
34
- return state . liveCache
35
- } ,
36
-
37
25
getLiveCacheByChannel : ( state ) => ( channelId ) => {
38
26
return state . liveCache [ channelId ]
39
27
} ,
40
28
41
- getPostsCache : ( state ) => {
42
- return state . postsCache
43
- } ,
44
-
45
29
getPostsCacheByChannel : ( state ) => ( channelId ) => {
46
30
return state . postsCache [ channelId ]
47
31
} ,
@@ -175,7 +159,7 @@ const actions = {
175
159
}
176
160
} ,
177
161
178
- async clearSubscriptionsCache ( { commit } , payload ) {
162
+ async clearSubscriptionsCache ( { commit } ) {
179
163
try {
180
164
await DBSubscriptionCacheHandlers . deleteAll ( )
181
165
commit ( 'clearCaches' )
Original file line number Diff line number Diff line change @@ -52,10 +52,6 @@ const state = {
52
52
externalPlayerNames : [ ] ,
53
53
externalPlayerValues : [ ] ,
54
54
externalPlayerCmdArguments : { } ,
55
- lastVideoRefreshTimestampByProfile : { } ,
56
- lastShortRefreshTimestampByProfile : { } ,
57
- lastLiveRefreshTimestampByProfile : { } ,
58
- lastCommunityRefreshTimestampByProfile : { } ,
59
55
lastPopularRefreshTimestamp : '' ,
60
56
lastTrendingRefreshTimestamp : '' ,
61
57
subscriptionFirstAutoFetchRunData : {
@@ -75,10 +71,6 @@ const getters = {
75
71
return state . outlinesHidden
76
72
} ,
77
73
78
- getCurrentVolume ( state ) {
79
- return state . currentVolume
80
- } ,
81
-
82
74
getSessionSearchHistory ( state ) {
83
75
return state . sessionSearchHistory
84
76
} ,
You can’t perform that action at this time.
0 commit comments