mirror of
https://github.com/nextcloud/android.git
synced 2024-11-24 22:25:44 +03:00
Check url emptiness
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
72fc1d0def
commit
50f7639c37
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,8 @@ class HttpStreamFetcher internal constructor(
|
|||
@Throws(Exception::class)
|
||||
override fun loadData(priority: Priority): InputStream? {
|
||||
val client = clientFactory.create(user)
|
||||
if (client != null) {
|
||||
|
||||
if (client != null && url.isNotBlank()) {
|
||||
var get: GetMethod? = null
|
||||
try {
|
||||
get = GetMethod(url)
|
||||
|
|
Loading…
Reference in a new issue