|
|
@ -15,6 +15,7 @@ import androidx.documentfile.provider.DocumentFile |
|
|
|
import com.jaredrummler.android.colorpicker.ColorPickerDialog |
|
|
|
import com.jaredrummler.android.colorpicker.ColorPickerDialog |
|
|
|
import io.legado.app.R |
|
|
|
import io.legado.app.R |
|
|
|
import io.legado.app.base.BaseDialogFragment |
|
|
|
import io.legado.app.base.BaseDialogFragment |
|
|
|
|
|
|
|
import io.legado.app.constant.AppLog |
|
|
|
import io.legado.app.constant.EventBus |
|
|
|
import io.legado.app.constant.EventBus |
|
|
|
import io.legado.app.databinding.DialogEditTextBinding |
|
|
|
import io.legado.app.databinding.DialogEditTextBinding |
|
|
|
import io.legado.app.databinding.DialogReadBgTextBinding |
|
|
|
import io.legado.app.databinding.DialogReadBgTextBinding |
|
|
@ -297,6 +298,7 @@ class BgTextConfigDialog : BaseDialogFragment(R.layout.dialog_read_bg_text) { |
|
|
|
toastOnUi("导出成功, 文件名为 $exportFileName") |
|
|
|
toastOnUi("导出成功, 文件名为 $exportFileName") |
|
|
|
}.onError { |
|
|
|
}.onError { |
|
|
|
it.printOnDebug() |
|
|
|
it.printOnDebug() |
|
|
|
|
|
|
|
AppLog.put("导出失败:${it.localizedMessage}", it) |
|
|
|
longToast("导出失败:${it.localizedMessage}") |
|
|
|
longToast("导出失败:${it.localizedMessage}") |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|