Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e7b0c8b authored by Fahim Salam Chowdhury's avatar Fahim Salam Chowdhury 👽
Browse files

chore: Improve naming for PersistentCookieStore class

parent eb532185
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ fun createCookieStore(context: Context? = null, account: Account? = null): Cooki
    val murenaAddressBookAccountType = context.getString(R.string.account_type_eelo_address_book)

    if (account.type in listOf(murenaAccountType, murenaAddressBookAccountType)) {
        return PersistenceCookieStore(context, account)
        return PersistentCookieStore(context, account)
    }

    return MemoryCookieStore()
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ import okhttp3.Cookie
import okhttp3.CookieJar
import okhttp3.HttpUrl

class PersistenceCookieStore(context: Context, private val account: Account): CookieJar {
class PersistentCookieStore(context: Context, private val account: Account): CookieJar {

    private val accountManager = AccountManager.get(context.applicationContext)