LibreTube/app/src/main/java/com/github/libretube/preferences/PlayerSettings.kt

18 lines
583 B
Kotlin
Raw Normal View History

2022-06-18 19:28:41 +05:30
package com.github.libretube.preferences
import android.os.Bundle
import androidx.preference.PreferenceFragmentCompat
import com.github.libretube.R
2022-07-01 13:59:00 +05:30
import com.github.libretube.SettingsActivity
2022-06-18 19:28:41 +05:30
class PlayerSettings : PreferenceFragmentCompat() {
val TAG = "PlayerSettings"
override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?) {
setPreferencesFromResource(R.xml.player_settings, rootKey)
2022-07-01 13:59:00 +05:30
val settingsActivity = activity as SettingsActivity
settingsActivity.binding.topBarTextView.text = getString(R.string.player)
2022-06-18 19:28:41 +05:30
}
}