mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Use @StringRes
This commit is contained in:
parent
43121e5760
commit
b09dca9c93
1 changed files with 2 additions and 1 deletions
|
@ -12,6 +12,7 @@ import android.view.ViewGroup
|
||||||
import android.widget.LinearLayout
|
import android.widget.LinearLayout
|
||||||
import android.widget.TextView
|
import android.widget.TextView
|
||||||
import android.widget.Toast
|
import android.widget.Toast
|
||||||
|
import androidx.annotation.StringRes
|
||||||
import androidx.appcompat.app.AppCompatActivity
|
import androidx.appcompat.app.AppCompatActivity
|
||||||
import androidx.core.view.isGone
|
import androidx.core.view.isGone
|
||||||
import androidx.core.view.isVisible
|
import androidx.core.view.isVisible
|
||||||
|
@ -180,7 +181,7 @@ class DownloadFragment : Fragment() {
|
||||||
private fun updateStorageInfo(
|
private fun updateStorageInfo(
|
||||||
context: Context,
|
context: Context,
|
||||||
bytes: Long,
|
bytes: Long,
|
||||||
stringRes: Int,
|
@StringRes stringRes: Int,
|
||||||
textView: TextView?,
|
textView: TextView?,
|
||||||
view: View?
|
view: View?
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue