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

Unverified Commit c8723d0f authored by Patrick Lang's avatar Patrick Lang Committed by Ricki Hirner
Browse files

propagate privWriteContent as read only collection (#71)

parent 5ee6e57b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -38,9 +38,8 @@ class LocalJtxCollection(account: Account, client: ContentProviderClient, id: Lo
                put(JtxContract.JtxCollection.SUPPORTSVTODO, info.supportsVTODO)
                put(JtxContract.JtxCollection.ACCOUNT_NAME, account.name)
                put(JtxContract.JtxCollection.ACCOUNT_TYPE, account.type)
                put(JtxContract.JtxCollection.READONLY, info.forceReadOnly)
                put(JtxContract.JtxCollection.READONLY, info.forceReadOnly || !info.privWriteContent)
            }

    }

    override val tag: String