-
Notifications
You must be signed in to change notification settings - Fork 131
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
Fix budget slider responsiveness #10739
Fix budget slider responsiveness #10739
Conversation
@@ -192,7 +195,6 @@ class BlazeCampaignBudgetViewModel @Inject constructor( | |||
data class BudgetUiState( | |||
val currencyCode: String, | |||
val totalBudget: Float, | |||
val sliderValue: Float, |
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.
The new approach is simpler and doesn't require to have 2 different values, one for the budget and other for the slider position
📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.
|
Generated by 🚫 Danger |
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.
The fix works great. Nice work! 🏅
Generated by 🚫 dangerJS |
# Conflicts: # WooCommerce/src/main/kotlin/com/woocommerce/android/ui/blaze/creation/budget/BlazeCampaignBudgetViewModel.kt
Part of: #10574
Description
These small changes fix several issues with the budget slider responsiveness. Issues are described in this PR: #10709 (comment)
Testing instructions
Images/gif
alwaysShowMultipleOfDuration.mp4