mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-3137 Relations | Fix | the relation list might not be displayed fully on Android 15 (#1921)
This commit is contained in:
parent
42908d0f19
commit
07878fc27c
1 changed files with 7 additions and 0 deletions
|
@ -23,7 +23,9 @@ import com.anytypeio.anytype.core_ui.features.relations.RelationAddAdapter
|
|||
import com.anytypeio.anytype.core_ui.features.relations.RelationAddHeaderAdapter
|
||||
import com.anytypeio.anytype.core_ui.reactive.focusChanges
|
||||
import com.anytypeio.anytype.core_ui.reactive.textChanges
|
||||
import com.anytypeio.anytype.core_ui.tools.LastItemBottomOffsetDecorator
|
||||
import com.anytypeio.anytype.core_utils.ext.arg
|
||||
import com.anytypeio.anytype.core_utils.ext.dimen
|
||||
import com.anytypeio.anytype.core_utils.ext.drawable
|
||||
import com.anytypeio.anytype.core_utils.ext.invisible
|
||||
import com.anytypeio.anytype.core_utils.ext.statusBarHeight
|
||||
|
@ -90,6 +92,11 @@ abstract class RelationAddBaseFragment :
|
|||
setDrawable(drawable(R.drawable.divider_relations_with_padding))
|
||||
}
|
||||
)
|
||||
addItemDecoration(
|
||||
LastItemBottomOffsetDecorator(
|
||||
dimen(R.dimen.dp_48)
|
||||
)
|
||||
)
|
||||
}
|
||||
with(lifecycleScope) {
|
||||
subscribe(searchRelationInput.focusChanges()) { hasFocus -> if (hasFocus) expand(view) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue