Skip to content

Fixes #4358 Remind the user to turn on the network#4377

Closed
obsidian-zero wants to merge 6 commits intocommons-app:masterfrom
obsidian-zero:master
Closed

Fixes #4358 Remind the user to turn on the network#4377
obsidian-zero wants to merge 6 commits intocommons-app:masterfrom
obsidian-zero:master

Conversation

@obsidian-zero
Copy link
Contributor

*Fixes #4358

A infoAlert has been added to alert users to their network connections.

Screenshot_1619343962

@codecov-commenter
Copy link

codecov-commenter commented Apr 25, 2021

Codecov Report

Merging #4377 (a022db9) into master (3577bd9) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #4377      +/-   ##
============================================
- Coverage     10.31%   10.31%   -0.01%     
  Complexity      476      476              
============================================
  Files           342      342              
  Lines         13104    13108       +4     
  Branches       1072     1073       +1     
============================================
  Hits           1352     1352              
- Misses        11685    11689       +4     
  Partials         67       67              
Impacted Files Coverage Δ Complexity Δ
...upload/mediaDetails/UploadMediaDetailFragment.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...e/nrw/commons/explore/paging/BasePagingFragment.kt 0.00% <0.00%> (ø) 0.00% <0.00%> (ø%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3577bd9...a022db9. Read the comment docs.

Copy link
Collaborator

@neslihanturan neslihanturan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will show this warning every time when a user uploads things. We don't want this. What we want is checking if the network is connected and if not displaying this warning. You can simply check where we already implemented the related toast message and display a warning instead of toast.

obsidian-zero and others added 3 commits May 20, 2021 23:03
Clear CompositeDisposable after logging in successfully. It may help solve the problem of saving the contribution to the previous account
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remind the user to turn on the network

4 participants