Show toast when reloading links (#818)

I'm not really sure if this should be done or not. But I like to know if I actually press the button or miss click as I often have to press it twice for it to do anything, which might just be another issue though.
This commit is contained in:
Luna712 2023-12-16 10:42:51 -07:00 committed by GitHub
parent 6d51c59b18
commit 10a477c2bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -1646,6 +1646,10 @@ class ResultViewModel2 : ViewModel() {
clearCache = true clearCache = true
) )
} }
showToast(
R.string.links_reloaded_toast,
Toast.LENGTH_SHORT
)
} }
ACTION_CHROME_CAST_MIRROR -> { ACTION_CHROME_CAST_MIRROR -> {

View file

@ -148,6 +148,7 @@
<string name="update_started">Update Started</string> <string name="update_started">Update Started</string>
<string name="stream">Stream</string> <string name="stream">Stream</string>
<string name="error_loading_links_toast">Error Loading Links</string> <string name="error_loading_links_toast">Error Loading Links</string>
<string name="links_reloaded_toast">Links Reloaded</string>
<string name="download_storage_text">Internal Storage</string> <string name="download_storage_text">Internal Storage</string>
<string name="app_dubbed_text">Dub</string> <string name="app_dubbed_text">Dub</string>
<string name="app_subbed_text">Sub</string> <string name="app_subbed_text">Sub</string>