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

Commit b56310b5 authored by narinder Rana's avatar narinder Rana
Browse files

./gradlew ktlintFormat

parent d64d0758
Loading
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -523,7 +523,6 @@ object K9 : EarlyInit {
        ALWAYS, NEVER, WHEN_CHECKED_AUTO_SYNC
    }


    /**
     * Controls behaviour of delete button in notifications.
     */
+1 −1
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@ package com.fsck.k9
import android.content.Context
import androidx.annotation.GuardedBy
import androidx.annotation.RestrictTo
import com.fsck.k9.helper.sendBlockingSilently
import com.fsck.k9.mail.MessagingException
import com.fsck.k9.mailstore.LocalStoreProvider
import com.fsck.k9.preferences.AccountManager
@@ -23,7 +24,6 @@ import kotlinx.coroutines.flow.buffer
import kotlinx.coroutines.flow.callbackFlow
import kotlinx.coroutines.flow.flowOn
import timber.log.Timber
import com.fsck.k9.helper.sendBlockingSilently

class Preferences internal constructor(
    private val storagePersister: StoragePersister,
+2 −3
Original line number Diff line number Diff line
@@ -7,13 +7,12 @@ import com.fsck.k9.backend.BackendManager
import com.fsck.k9.backend.api.BackendPusher
import com.fsck.k9.backend.api.BackendPusherCallback
import com.fsck.k9.controller.MessagingController
import com.fsck.k9.mailstore.FolderRepositoryManager
import com.fsck.k9.mailstore.FolderRepository
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.cancel
import kotlinx.coroutines.flow.collect
import com.fsck.k9.mailstore.FolderRepository
import kotlinx.coroutines.launch
import timber.log.Timber

+1 −1
Original line number Diff line number Diff line
package com.fsck.k9.controller.push

import com.fsck.k9.Account
import com.fsck.k9.Preferences
import com.fsck.k9.backend.BackendManager
import com.fsck.k9.controller.MessagingController
import com.fsck.k9.Preferences
import com.fsck.k9.mailstore.FolderRepository

internal class AccountPushControllerFactory(
+4 −4
Original line number Diff line number Diff line
@@ -2,6 +2,10 @@ package com.fsck.k9.mailstore

import com.fsck.k9.Account
import com.fsck.k9.Account.FolderMode
import com.fsck.k9.DI
import com.fsck.k9.controller.MessagingController
import com.fsck.k9.controller.SimpleMessagingListener
import com.fsck.k9.helper.sendBlockingSilently
import com.fsck.k9.mail.FolderClass
import com.fsck.k9.preferences.AccountManager
import kotlinx.coroutines.CoroutineDispatcher
@@ -17,10 +21,6 @@ import kotlinx.coroutines.flow.flatMapLatest
import kotlinx.coroutines.flow.flowOn
import kotlinx.coroutines.flow.map
import com.fsck.k9.mail.FolderType as RemoteFolderType
import com.fsck.k9.DI
import com.fsck.k9.controller.MessagingController
import com.fsck.k9.controller.SimpleMessagingListener
import com.fsck.k9.helper.sendBlockingSilently

@OptIn(ExperimentalCoroutinesApi::class)
class FolderRepository(
Loading