-
Notifications
You must be signed in to change notification settings - Fork 741
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
FTUE - Single loading state #5517
Conversation
7a4e4a2
to
3d20d46
Compare
63c7e2b
to
bbc892f
Compare
@@ -86,21 +84,8 @@ abstract class AbstractFtueAuthFragment<VB : ViewBinding> : VectorBaseFragment<V | |||
is CancellationException -> | |||
/* Ignore this error, user has cancelled the action */ | |||
Unit | |||
is Failure.ServerError -> |
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.
this has been lifted to the Login/Sign up fragment https://github.com/vector-im/element-android/pull/5517/files#diff-6422bfd992cde38d5783f859483c70b55ed045bc2c89a153784957ff2d0550e0R277 (the same change was made in Login2
)
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.
Nice cleanup! Statically reviewed, all LGTM. (Please see conflicted files before merging)
…play name and profile picture updates
… and shared isLoading
…ed isLoading with error view events
…o the view events
bbc892f
to
af90ada
Compare
@onurays thanks for the review! I have rebased on develop, will do another sanity check then merge if the CI is still happy 🤞 |
Marked as draft as this relies on #5408
Type of change
Content
async states
down into a singleisLoading
Motivation and context
To simplify, remove code duplication and avoid redundant state updates
Screenshots / GIFs
Tests
Tested devices