-
Notifications
You must be signed in to change notification settings - Fork 0
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
Remove the LiveData to know if we have internet or not and use a flow instead #208
Conversation
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.
How you commited things, git thinks you removed old code and added new code and doesn't understand more than half the code is the same but was simply moved around files. Do we want to try and commit things in order for git to see that the added code comes from them old one and keep the code blame history?
55fa665
to
4d4550c
Compare
@LunarX What do you mean "How I committed things"? I've created a new file and a new extension. Even though some parts are the same, it's a completely new way of doing things. |
e603e48
to
881d04b
Compare
src/main/java/com/infomaniak/lib/core/networking/NetworkExtensions.kt
Outdated
Show resolved
Hide resolved
src/main/java/com/infomaniak/lib/core/networking/NetworkExtensions.kt
Outdated
Show resolved
Hide resolved
src/main/java/com/infomaniak/lib/core/networking/NetworkExtensions.kt
Outdated
Show resolved
Hide resolved
src/main/java/com/infomaniak/lib/core/networking/NetworkExtensions.kt
Outdated
Show resolved
Hide resolved
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 think a class would be even better, so we could have an isNetworkAvailable
method. A class like NetworkCapability
or NetworkAvailability
.
22b898e
to
912d1ce
Compare
912d1ce
to
a0ed00b
Compare
src/main/java/com/infomaniak/lib/core/networking/NetworkAvailability.kt
Outdated
Show resolved
Hide resolved
src/main/java/com/infomaniak/lib/core/networking/NetworkAvailability.kt
Outdated
Show resolved
Hide resolved
a0ed00b
to
43d005a
Compare
43d005a
to
958661b
Compare
src/main/java/com/infomaniak/lib/core/networking/NetworkAvailability.kt
Outdated
Show resolved
Hide resolved
958661b
to
94858c1
Compare
1a1d952
to
2558767
Compare
2558767
to
1805c0a
Compare
1805c0a
to
d5b4bef
Compare
Quality Gate passedIssues Measures |
No description provided.