mirror of
https://github.com/gedoor/legado.git
synced 2024-09-03 09:55:00 +08:00
优化
This commit is contained in:
parent
2f96529ca2
commit
e6baa8ac54
@ -5,7 +5,6 @@
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
||||
<uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION" />
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
||||
|
@ -15,6 +15,7 @@ import androidx.documentfile.provider.DocumentFile
|
||||
import com.jaredrummler.android.colorpicker.ColorPickerDialog
|
||||
import io.legado.app.R
|
||||
import io.legado.app.base.BaseDialogFragment
|
||||
import io.legado.app.constant.AppLog
|
||||
import io.legado.app.constant.EventBus
|
||||
import io.legado.app.databinding.DialogEditTextBinding
|
||||
import io.legado.app.databinding.DialogReadBgTextBinding
|
||||
@ -297,6 +298,7 @@ class BgTextConfigDialog : BaseDialogFragment(R.layout.dialog_read_bg_text) {
|
||||
toastOnUi("导出成功, 文件名为 $exportFileName")
|
||||
}.onError {
|
||||
it.printOnDebug()
|
||||
AppLog.put("导出失败:${it.localizedMessage}", it)
|
||||
longToast("导出失败:${it.localizedMessage}")
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user