-
Notifications
You must be signed in to change notification settings - Fork 131
[Bug] Missing toolbar in EditVariationAttributesFragment in tablet layout #14097
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
base: trunk
Are you sure you want to change the base?
[Bug] Missing toolbar in EditVariationAttributesFragment in tablet layout #14097
Conversation
📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
|
📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.
|
@@ -77,6 +82,15 @@ class EditVariationAttributesFragment : | |||
|
|||
override fun getFragmentTitle() = getString(R.string.product_attributes) | |||
|
|||
private fun setupToolbar() { |
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.
I see that other fragments use setupTabletSecondPaneToolbar
extension. Should we do the same?
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.
LGTM! I'd just suggest using the extension to maintain consistency.
Add toolbar to EditVariationAttributesFragment
WOOMOB-481
Description
This PR adds a toolbar to
EditVariationAttributesFragment
that was missing in the dual-pane layout (e.g. on tablet).Steps to reproduce
On tablet device:
Testing information
Verify that the toolbar is shown both in dual pane and single pane layout.
The tests that have been performed
Above.
Images/gif
RELEASE-NOTES.txt
if necessary. Use the "[Internal]" label for non-user-facing changes.