fixed nicehttp headers

This commit is contained in:
LagradOst 2022-05-07 13:18:22 +02:00
parent 659d146dfe
commit af9af6e7a2
1 changed files with 3 additions and 2 deletions

View File

@ -90,8 +90,9 @@ const val VLC_EXTRA_DURATION_OUT = "extra_duration"
const val VLC_LAST_ID_KEY = "vlc_last_open_id"
// 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 {
companion object {