mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-3151 Spaces | Enhancement | Apply empty use if user has more than two spaces when creating new space (#1907)
This commit is contained in:
parent
2b751772fc
commit
a7274257f3
9 changed files with 43 additions and 20 deletions
|
@ -759,9 +759,8 @@ class BlockDataRepository(
|
|||
remote.deleteSpace(space)
|
||||
}
|
||||
|
||||
override suspend fun createWorkspace(details: Struct, withChat: Boolean): Id = remote.createWorkspace(
|
||||
details = details,
|
||||
withChat = withChat
|
||||
override suspend fun createWorkspace(command: Command.CreateSpace): Id = remote.createWorkspace(
|
||||
command = command
|
||||
)
|
||||
|
||||
override suspend fun setSpaceDetails(space: SpaceId, details: Struct) {
|
||||
|
|
|
@ -339,7 +339,7 @@ interface BlockRemote {
|
|||
suspend fun setSpaceDetails(space: SpaceId, details: Struct)
|
||||
|
||||
suspend fun deleteSpace(space: SpaceId)
|
||||
suspend fun createWorkspace(details: Struct, withChat: Boolean): Id
|
||||
suspend fun createWorkspace(command: Command.CreateSpace): Id
|
||||
|
||||
suspend fun getSpaceConfig(space: Id): Config
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue