mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Update toast message that is displayed when changing accounts
This commit is contained in:
parent
d0cf4c20da
commit
01ce02372e
2 changed files with 2 additions and 1 deletions
|
@ -151,7 +151,7 @@ object DataStoreHelper {
|
|||
|
||||
fun setAccount(account: Account, refreshHomePage: Boolean) {
|
||||
selectedKeyIndex = account.keyIndex
|
||||
showToast(account.name)
|
||||
showToast(context?.getString(R.string.logged_account, account.name) ?: account.name)
|
||||
MainActivity.bookmarksUpdatedEvent(true)
|
||||
MainActivity.reloadLibraryEvent(true)
|
||||
if (refreshHomePage) {
|
||||
|
|
|
@ -728,4 +728,5 @@
|
|||
<string name="select_an_account">Select an Account</string>
|
||||
<string name="manage_accounts">Manage Accounts</string>
|
||||
<string name="edit_account">Edit account</string>
|
||||
<string name="logged_account" formatted="true">Logged in as %s</string>
|
||||
</resources>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue