fixed possible NPE
This commit is contained in:
parent
eb6318bede
commit
f20b618531
|
@ -58,7 +58,8 @@ subprojects {
|
|||
MultiValueSwitch : '0.9.8',
|
||||
PickNCrop : '0.9.24',
|
||||
AndroidGIFDrawable: '1.2.6',
|
||||
KPreferences : '0.9.6'
|
||||
KPreferences : '0.9.6',
|
||||
Kovenant : '3.3.0'
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
@ -189,10 +189,10 @@ dependencies {
|
|||
compile 'com.github.mariotaku:Chameleon:0.9.16'
|
||||
|
||||
compile "org.jetbrains.kotlin:kotlin-stdlib:${libVersions['Kotlin']}"
|
||||
compile 'nl.komponents.kovenant:kovenant:3.3.0'
|
||||
compile 'nl.komponents.kovenant:kovenant-android:3.3.0'
|
||||
compile 'nl.komponents.kovenant:kovenant-functional:3.3.0'
|
||||
compile 'nl.komponents.kovenant:kovenant-combine:3.3.0'
|
||||
compile "nl.komponents.kovenant:kovenant:${libVersions['Kovenant']}"
|
||||
compile "nl.komponents.kovenant:kovenant-android:${libVersions['Kovenant']}"
|
||||
compile "nl.komponents.kovenant:kovenant-functional:${libVersions['Kovenant']}"
|
||||
compile "nl.komponents.kovenant:kovenant-combine:${libVersions['Kovenant']}"
|
||||
}
|
||||
|
||||
task svgToDrawable(type: SvgDrawableTask) {
|
||||
|
|
|
@ -214,7 +214,7 @@ class GetMessagesTask(
|
|||
maxId(maxId)
|
||||
}
|
||||
}).userInbox
|
||||
}
|
||||
} ?: throw MicroBlogException("Null response data")
|
||||
return createDatabaseUpdateData(context, details, response, profileImageSize)
|
||||
}
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
|
|
Loading…
Reference in New Issue