fixed nicehttp headers

This commit is contained in:
LagradOst 2022-05-07 13:18:22 +02:00
parent 659d146dfe
commit af9af6e7a2

View file

@ -90,8 +90,9 @@ const val VLC_EXTRA_DURATION_OUT = "extra_duration"
const val VLC_LAST_ID_KEY = "vlc_last_open_id" const val VLC_LAST_ID_KEY = "vlc_last_open_id"
// Short name for requests client to make it nicer to use // Short name for requests client to make it nicer to use
var app = Requests() var app = Requests().apply {
defaultHeaders = mapOf("user-agent" to USER_AGENT)
}
class MainActivity : AppCompatActivity(), ColorPickerDialogListener { class MainActivity : AppCompatActivity(), ColorPickerDialogListener {
companion object { companion object {