This repository was archived by the owner on Jun 9, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
lib/src/main/kotlin/at/bitfire/ical4android Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import at.bitfire.ical4android.util.MiscUtils.asSyncAdapter
1616import at.bitfire.ical4android.util.MiscUtils.toValues
1717import org.dmfs.tasks.contract.TaskContract
1818import org.dmfs.tasks.contract.TaskContract.Property.Relation
19+ import org.dmfs.tasks.contract.TaskContract.TaskListColumns
1920import org.dmfs.tasks.contract.TaskContract.TaskLists
2021import org.dmfs.tasks.contract.TaskContract.Tasks
2122import java.io.FileNotFoundException
@@ -42,6 +43,7 @@ abstract class DmfsTaskList<out T : DmfsTask>(
4243 var name: String? = null
4344 var color: Int? = null
4445 var isSynced = false
46+ var accessLevel: Int = TaskListColumns .ACCESS_LEVEL_UNDEFINED
4547 var isVisible = false
4648
4749 /* *
@@ -59,6 +61,7 @@ abstract class DmfsTaskList<out T : DmfsTask>(
5961 name = values.getAsString(TaskLists .LIST_NAME )
6062 color = values.getAsInteger(TaskLists .LIST_COLOR )
6163 values.getAsInteger(TaskLists .SYNC_ENABLED )?.let { isSynced = it != 0 }
64+ accessLevel = values.getAsInteger(TaskListColumns .ACCESS_LEVEL )
6265 values.getAsInteger(TaskLists .VISIBLE )?.let { isVisible = it != 0 }
6366 }
6467
@@ -165,4 +168,4 @@ abstract class DmfsTaskList<out T : DmfsTask>(
165168
166169 fun tasksPropertiesSyncUri () = TaskContract .Properties .getContentUri(providerName.authority).asSyncAdapter(account)
167170
168- }
171+ }
You can’t perform that action at this time.
0 commit comments