fix: clear cache btn
This commit is contained in:
parent
aaff072fae
commit
2699f1017c
2 changed files with 3 additions and 1 deletions
|
|
@ -50,7 +50,8 @@ class SettingsViewModel(
|
|||
}
|
||||
|
||||
fun clearCacheDir() {
|
||||
application.cacheDir.deleteRecursively()
|
||||
application.externalCacheDir?.deleteRecursively()
|
||||
application.showToast(R.string.action_cleared_cache)
|
||||
}
|
||||
|
||||
init {
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@
|
|||
<string name="action_collapse">Collapse</string>
|
||||
<string name="action_expand">Expand</string>
|
||||
<string name="action_copied">Copied!</string>
|
||||
<string name="action_cleared_cache">Cleared cache!</string>
|
||||
|
||||
<string name="permissions_grant_title">Grant Permissions</string>
|
||||
<string name="permissions_grant_body">In order for Aliucord Manager to work properly, you need to grant file permissions. Since shared data in stored in ~/Aliucord, permissions are required in order for manager to function.</string>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue