Skip to content

Commit

Permalink
Merge pull request #121 from KakaoCup/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Vacxe authored Feb 6, 2024
2 parents 6abd4dd + 99cd7c1 commit 6dec4d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ fun getResourceString(@StringRes resId: Int) =
InstrumentationRegistry.getInstrumentation().targetContext.resources.getString(resId)

fun getResourceString(@StringRes resId: Int, vararg args: Any) =
InstrumentationRegistry.getInstrumentation().targetContext.resources.getString(resId, args)
InstrumentationRegistry.getInstrumentation().targetContext.resources.getString(resId, *args)

fun getQuantityString(@PluralsRes resId: Int, quantity: Int) =
InstrumentationRegistry.getInstrumentation().targetContext.resources.getQuantityString(resId, quantity)
Expand Down

0 comments on commit 6dec4d5

Please sign in to comment.