Fix Android resource reference folding
Properly fold qualified expressions and handle nested references #KT-18429 Fixed
This commit is contained in:
+1
-1
@@ -4,6 +4,6 @@ import android.content.Context
|
||||
|
||||
fun Context.testPlurals(quantity: Int) <fold text='{...}' expand='true'>{
|
||||
val plural1 = <fold text='"Reference One"' expand='false'>resources.getQuantityString(R.plurals.first, quantity)</fold>
|
||||
val plural2 = <fold text='Quantity One' expand='false'>this.getResources().getQuantityString(R.plurals.second, quantity)</fold>
|
||||
val plural2 = <fold text='"Quantity One"' expand='false'>this.getResources().getQuantityString(R.plurals.second, quantity)</fold>
|
||||
}</fold>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user