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

Unverified Commit 1b3bede9 authored by cketti's avatar cketti Committed by GitHub
Browse files

Merge pull request #5141 from Odyss-eus/messageComposeActivityFix

Fix MessageCompose activity enabled status
parents 16593638 b48ad287
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -46,7 +46,7 @@ object Core : EarlyInit {
    @JvmStatic
    @JvmStatic
    fun setServicesEnabled(context: Context) {
    fun setServicesEnabled(context: Context) {
        val appContext = context.applicationContext
        val appContext = context.applicationContext
        val acctLength = Preferences.getPreferences(appContext).availableAccounts.size
        val acctLength = Preferences.getPreferences(appContext).accounts.size
        val enable = acctLength > 0
        val enable = acctLength > 0


        setServicesEnabled(appContext, enable)
        setServicesEnabled(appContext, enable)