mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-15 23:00:31 +05:30
18 lines
569 B
Kotlin
18 lines
569 B
Kotlin
package com.github.libretube.preferences
|
|
|
|
import android.os.Bundle
|
|
import android.widget.TextView
|
|
import androidx.preference.PreferenceFragmentCompat
|
|
import com.github.libretube.R
|
|
|
|
class PlayerSettings : PreferenceFragmentCompat() {
|
|
val TAG = "PlayerSettings"
|
|
|
|
override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) {
|
|
setPreferencesFromResource(R.xml.player_settings, rootKey)
|
|
|
|
val topBarTextView = activity?.findViewById<TextView>(R.id.topBar_textView)
|
|
topBarTextView?.text = getString(R.string.player)
|
|
}
|
|
}
|