File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
app/src/main/kotlin/com/d4rk/cleaner/app/apps/manager/ui Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ class AppManagerViewModel(
165
165
userAppsLoading = true ,
166
166
systemAppsLoading = true
167
167
)
168
- ),
168
+ )
169
169
170
170
is DataState .Success -> {
171
171
val pm = applicationContext.packageManager
@@ -183,7 +183,7 @@ class AppManagerViewModel(
183
183
systemAppsLoading = false
184
184
)
185
185
)
186
- },
186
+ }
187
187
188
188
is DataState .Error -> currentState.copy(
189
189
data = currentState.data?.copy(
@@ -203,14 +203,16 @@ class AppManagerViewModel(
203
203
data = currentState.data?.copy(
204
204
apkFilesLoading = true
205
205
)
206
- ),
206
+ )
207
207
208
208
is DataState .Success -> currentState.copy(
209
209
data = currentState.data?.copy(
210
210
apkFiles = result.data.sortedBy {
211
211
it.path.substringAfterLast(' /' ).lowercase()
212
212
},
213
- apkFilesLoading = false )),
213
+ apkFilesLoading = false
214
+ )
215
+ )
214
216
215
217
is DataState .Error -> currentState.copy(
216
218
data = currentState.data?.copy(
@@ -229,7 +231,7 @@ class AppManagerViewModel(
229
231
data = currentState.data?.copy(
230
232
appUsageStats = result.data
231
233
)
232
- ),
234
+ )
233
235
234
236
else -> currentState
235
237
}
You can’t perform that action at this time.
0 commit comments