File tree Expand file tree Collapse file tree
java/to/bitkit/repositories Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import kotlinx.coroutines.flow.update
1818import kotlinx.coroutines.isActive
1919import kotlinx.coroutines.launch
2020import kotlinx.coroutines.withContext
21+ import to.bitkit.R
2122import to.bitkit.data.CacheStore
2223import to.bitkit.data.SettingsStore
2324import to.bitkit.di.BgDispatcher
@@ -94,8 +95,8 @@ class CurrencyRepo @Inject constructor(
9495 .collect { isStale ->
9596 if (isStale) {
9697 toaster.error(
97- title = ToastText (" Rates currently unavailable " ),
98- body = ToastText (" An error has occurred. Please try again later. " )
98+ title = ToastText (R .string.currency__rates_error_title ),
99+ body = ToastText (R .string.currency__rates_error_body),
99100 )
100101 }
101102 }
Original file line number Diff line number Diff line change 8484 <string name =" common__usable" >Usable</string >
8585 <string name =" common__yes" >Yes</string >
8686 <string name =" common__yes_proceed" >Yes, Proceed</string >
87+ <string name =" currency__rates_error_body" >An error has occurred. Please try again later.</string >
88+ <string name =" currency__rates_error_title" >Rates currently unavailable</string >
8789 <string name =" fee__custom__description" >Depends on the fee</string >
8890 <string name =" fee__custom__shortDescription" >Depends on the fee</string >
8991 <string name =" fee__custom__shortRange" >Depends on the fee</string >
You can’t perform that action at this time.
0 commit comments