package de.trainingstagebuch.app.utils

import android.content.Context
import androidx.annotation.StringRes

data class UiText(
    @StringRes val resId: Int,
    val args: List<Any> = emptyList()
) {
    fun resolve(context: Context): String = context.getString(resId, *args.toTypedArray())
}
