Skip to content
Snippets Groups Projects
Commit c6dc960d authored by Taras's avatar Taras
Browse files

Add emoji picker navigation

parent c144bc74
No related branches found
No related tags found
No related merge requests found
...@@ -10,4 +10,10 @@ class DMTimelineNavigator(private val fragment: DMTimelineDialogFragment) { ...@@ -10,4 +10,10 @@ class DMTimelineNavigator(private val fragment: DMTimelineDialogFragment) {
DMTimelineDialogFragmentDirections.toUserNavGraph(userId) DMTimelineDialogFragmentDirections.toUserNavGraph(userId)
) )
} }
fun navigateToEmojiPicker() {
fragment.findNavController().navigateSafe(
DMTimelineDialogFragmentDirections.toEmojiBottomSheet(null,null)
)
}
} }
\ No newline at end of file
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<org.futo.circles.view.SendMessageView <org.futo.circles.view.SendMessageView
android:id="@+id/lCreatePost" android:id="@+id/vSendMessage"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
......
...@@ -29,8 +29,29 @@ ...@@ -29,8 +29,29 @@
app:nullable="false" /> app:nullable="false" />
</action> </action>
<action
android:id="@+id/to_emojiBottomSheet"
app:destination="@id/emojiBottomSheet" />
</dialog> </dialog>
<include app:graph="@navigation/user_nav_graph" /> <include app:graph="@navigation/user_nav_graph" />
<dialog
android:id="@+id/emojiBottomSheet"
android:name="org.futo.circles.feature.timeline.post.emoji.EmojiBottomSheet"
android:label="EmojiBottomSheet"
tools:layout="@layout/bottom_sheet_emoji">
<argument
android:name="roomId"
app:argType="string"
app:nullable="true" />
<argument
android:name="eventId"
app:argType="string"
app:nullable="true" />
</dialog>
</navigation> </navigation>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment