Use @StringRes

This commit is contained in:
Luna712 2024-06-21 02:23:23 -06:00 committed by GitHub
parent 43121e5760
commit b09dca9c93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,6 +12,7 @@ import android.view.ViewGroup
import android.widget.LinearLayout
import android.widget.TextView
import android.widget.Toast
import androidx.annotation.StringRes
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.isGone
import androidx.core.view.isVisible
@ -180,7 +181,7 @@ class DownloadFragment : Fragment() {
private fun updateStorageInfo(
context: Context,
bytes: Long,
stringRes: Int,
@StringRes stringRes: Int,
textView: TextView?,
view: View?
) {