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

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

chore: remove extra context == null check

parent 2e7b0c8b
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -21,8 +21,8 @@ import android.content.Context
import at.bitfire.davdroid.R
import okhttp3.CookieJar

fun createCookieStore(context: Context? = null, account: Account? = null): CookieJar {
    if (context == null || account == null) {
fun createCookieStore(context: Context, account: Account? = null): CookieJar {
    if (account == null) {
        return MemoryCookieStore()
    }