Lib: Cleanup - Fix comment indentation (#3827)

Cleanup
This commit is contained in:
Chopper 2024-07-02 03:47:29 -03:00 committed by GitHub
parent 507fd8055d
commit 19675f081f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,9 +8,9 @@ import androidx.preference.PreferenceScreen
import okhttp3.Headers import okhttp3.Headers
/** /**
* Helper function to return UserAgentType based on SharedPreference value * Helper function to return UserAgentType based on SharedPreference value
*/ */
fun SharedPreferences.getPrefUAType(): UserAgentType { fun SharedPreferences.getPrefUAType(): UserAgentType {
return when (getString(PREF_KEY_RANDOM_UA, "off")) { return when (getString(PREF_KEY_RANDOM_UA, "off")) {
"mobile" -> UserAgentType.MOBILE "mobile" -> UserAgentType.MOBILE