1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00

DROID-417 Set | Get records, after source set (#2587)

* DROID-417 turn off change set source

* DROID-417 get records after block view block added

* DROID-417 link to task

* DROID-417 add delay to test

* DROID-417 fix test setup, should be proper filter by description style

* DROID-417 ci

* DROID-417 ci off

Co-authored-by: konstantiniiv <ki@anytype.io>
This commit is contained in:
Konstantin Ivanov 2022-09-08 11:53:24 +02:00 committed by GitHub
parent a2a979a5ce
commit a17743e56a
Signed by: github
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 6 deletions

View file

@ -274,11 +274,12 @@ class FeaturedRelationGroupWidget : ConstraintLayout {
}
}
}
view.setOnClickListener {
click(
ListenerType.Relation.SetSource(sources = relation.sources)
)
}
// todo https://linear.app/anytype/issue/DROID-434/set-or-change-set-source
// view.setOnClickListener {
// click(
// ListenerType.Relation.SetSource(sources = relation.sources)
// )
// }
addView(view)
ids.add(view.id)
}

View file

@ -186,6 +186,7 @@ class ObjectSetReducer {
)
}
is Command.AddBlock -> {
effects.add(SideEffect.ResetViewer)
state.copy(
blocks = state.blocks + event.blocks
)

View file

@ -202,7 +202,7 @@ class EditorFocusTest : EditorPresentationTestSetup() {
val style = Block.Content.Text.Style.values()
.filter { style ->
style != Block.Content.Text.Style.TITLE || style != Block.Content.Text.Style.DESCRIPTION
style != Block.Content.Text.Style.TITLE && style != Block.Content.Text.Style.DESCRIPTION
}
.random()