-
Notifications
You must be signed in to change notification settings - Fork 758
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
No animation -> no chat effect #5941
Conversation
It will speed up the sanity test
@@ -218,7 +218,7 @@ class PopupAlertManager @Inject constructor( | |||
if (!alert.isLight) { | |||
clearLightStatusBar() | |||
} | |||
val noAnimation = !animate || isAnimationDisabled(activity) | |||
val noAnimation = !(animate && activity.isAnimationEnabled()) |
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've read it several times, but please double check this change :)
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.
took me some time to proceed, but looks correct
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
@@ -218,7 +218,7 @@ class PopupAlertManager @Inject constructor( | |||
if (!alert.isLight) { | |||
clearLightStatusBar() | |||
} | |||
val noAnimation = !animate || isAnimationDisabled(activity) | |||
val noAnimation = !(animate && activity.isAnimationEnabled()) |
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.
took me some time to proceed, but looks correct
(the label next release was added by mistake) |
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!
Matrix SDKIntegration Tests Results:
|
Type of change
Content
If the user does not want to see animation, no chat effect will be performed. Also no account creation celebration will e displayed.
Motivation and context
It will speed up the UI test, which have animation disabled.
It can also be useful to user with health condition (see #5557)
I tried to update the speed for Konfetti regarding the animation scale, but I think it has to be handled by the third party library. Same for the snowfall.
Screenshots / GIFs
Tests
Tested devices
Checklist