Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit 41980ea

Browse files
committed
fix: translate contentCard when opening drawer in editor activity
1 parent 971a5dc commit 41980ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/itsaky/androidide/activities/editor/BaseEditorActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ abstract class BaseEditorActivity : EdgeToEdgeIDEActivity(), TabLayout.OnTabSele
611611
toggle.syncState()
612612
binding.apply {
613613
editorDrawerLayout.apply {
614-
childId = content.realContainer.id
614+
childId = contentCard.id
615615
translationBehaviorStart = ContentTranslatingDrawerLayout.TranslationBehavior.FULL
616616
translationBehaviorEnd = ContentTranslatingDrawerLayout.TranslationBehavior.FULL
617617
setScrimColor(Color.TRANSPARENT)

0 commit comments

Comments
 (0)