pull/66/head
kunfei 5 years ago
parent 66ff502e1f
commit d41a19bb13
  1. 5
      app/src/main/java/io/legado/app/ui/config/WebDavConfigFragment.kt

@ -1,5 +1,6 @@
package io.legado.app.ui.config
import android.app.Activity.RESULT_OK
import android.content.Intent
import android.os.Build
import android.os.Bundle
@ -164,9 +165,11 @@ class WebDavConfigFragment : PreferenceFragmentCompat(), Preference.OnPreference
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
super.onActivityResult(requestCode, resultCode, data)
when (requestCode) {
oldDataRequestCode -> {
oldDataRequestCode -> if (resultCode == RESULT_OK) {
data?.data?.let {
}
}
}
}
}
Loading…
Cancel
Save