Inject a StringProvider instead of the context, and update tests.
Also remove the other StringProvider we had, it was not used anymore
This commit is contained in:
parent
1edd419915
commit
d2253300db
7 changed files with 36 additions and 29 deletions
|
|
@ -16,5 +16,4 @@ interface AppErrorStateService {
|
|||
fun showError(title: String, body: String)
|
||||
|
||||
fun showError(@StringRes titleRes: Int, @StringRes bodyRes: Int)
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue