mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Replace android.R.string.* with R.string (#6499)
Some checks are pending
Android CI / Run tests and generate APK (push) Waiting to run
Some checks are pending
Android CI / Run tests and generate APK (push) Waiting to run
All these messages are not really necessary because the app has its own localizations, and android.R.string sometimes doesn't display the localized string. Resolves #6470.
This commit is contained in:
parent
b6014b017c
commit
0c244f369c
14 changed files with 24 additions and 24 deletions
|
|
@ -193,8 +193,8 @@ class DescriptionEditActivityUnitTest {
|
|||
method.isAccessible = true
|
||||
method.invoke(
|
||||
activity,
|
||||
android.R.string.ok,
|
||||
android.R.string.ok,
|
||||
R.string.ok,
|
||||
R.string.ok,
|
||||
)
|
||||
val dialog: AlertDialog = ShadowAlertDialog.getLatestDialog() as AlertDialog
|
||||
assertEquals(dialog.isShowing, true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue