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 package io.legado.app.ui.config
import android.app.Activity.RESULT_OK
import android.content.Intent import android.content.Intent
import android.os.Build import android.os.Build
import android.os.Bundle import android.os.Bundle
@ -164,8 +165,10 @@ class WebDavConfigFragment : PreferenceFragmentCompat(), Preference.OnPreference
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
super.onActivityResult(requestCode, resultCode, data) super.onActivityResult(requestCode, resultCode, data)
when (requestCode) { when (requestCode) {
oldDataRequestCode -> { oldDataRequestCode -> if (resultCode == RESULT_OK) {
data?.data?.let {
}
} }
} }
} }

Loading…
Cancel
Save