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

18 lines
587 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 20:24:20 +05:30
import com.github.libretube.activities.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
2022-07-05 21:28:18 +05:30
settingsActivity.changeTopBarText(getString(R.string.audio_video))
2022-06-18 19:28:41 +05:30
}
}