Skip to content

Commit b14b47d

Browse files
committed
Upgrade libs
1 parent f5ec710 commit b14b47d

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

lib/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,11 @@ dependencies {
5959
kapt 'com.github.Omega-R.OmegaMoxy:moxy-compiler:1.5.8'
6060

6161
api "com.github.Omega-R:OmegaRecyclerView:${omegaRecyclerView}@aar"
62-
api 'com.github.Omega-R.OmegaTypes:glide:1.0.1'
63-
api 'com.github.Omega-R:OmegaIntentBuilder:11eca72'
62+
api 'com.github.Omega-R.OmegaTypes:glide:1.0.2'
63+
api 'com.github.Omega-R:OmegaIntentBuilder:1.2.0'
64+
api 'com.github.Omega-R:OmegaLaunchers:1.0.2'
6465

65-
api "com.squareup.retrofit2:retrofit:2.4.0"
66+
api "com.squareup.retrofit2:retrofit:2.6.1"
6667
api "com.squareup.moshi:moshi-kotlin:1.8.0"
6768

6869
implementation 'com.google.android.material:material:1.1.0-alpha06'

lib/src/main/java/com/omega_r/base/errors/ErrorHandler.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ open class ErrorHandler : (Throwable) -> Exception, CoroutineExceptionHandler {
1919
protected open fun handleHttpException(httpException: HttpException): AppException {
2020
val response = httpException.response()
2121

22-
when (response.code()) {
22+
when (response?.code()) {
2323
HTTP_INTERNAL_ERROR -> return AppException.ServerProblem(
2424
"Internal server error",
2525
httpException

0 commit comments

Comments
 (0)