Skip to content

Commit

Permalink
don't spam preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
Secozzi committed Oct 10, 2023
1 parent 6b2d25c commit 1f20176
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ abstract class ZoroTheme(
Injekt.get<Application>().getSharedPreferences("source_$id", 0x0000)
}

private val docHeaders = headersBuilder().apply {
private val docHeaders = headers.newBuilder().apply {
add("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8")
add("Host", baseUrl.toHttpUrl().host)
add("Referer", "$baseUrl/")
Expand Down

0 comments on commit 1f20176

Please sign in to comment.