-
Notifications
You must be signed in to change notification settings - Fork 739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dialpad moved from bottom navigation tab to a separate activity #6887
Conversation
@@ -8,6 +8,11 @@ | |||
android:title="@string/invite_friends" | |||
app:showAsAction="never" /> | |||
|
|||
<item |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need some logic to determine if the menu item should be visible?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes! Thanks for this catch, I forgot about it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small comment about the menu item visibility, otherwise LGTM (once the CI is also happy 😄 ) 💯
dismissLoadingDialog() | ||
finish() | ||
} catch (failure: Throwable) { | ||
displayErrorDialog(failure) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will the loading Dialog will be dismiss in this case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
@@ -107,6 +110,7 @@ class NewHomeDetailFragment @Inject constructor( | |||
withState(viewModel) { state -> | |||
val isRoomList = state.currentTab is HomeTab.RoomList | |||
menu.findItem(R.id.menu_home_mark_all_as_read).isVisible = isRoomList && hasUnreadRooms | |||
menu.findItem(R.id.menu_home_dialpad).isVisible = state.showDialPadTab |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
|
SonarCloud Quality Gate failed. |
Type of change
Content
since we won't have bottom navigation tabs in new layout, we need to move dialpad somewhere else
Motivation and context
part of #6502
closes #6787
Screenshots / GIFs