pull/1395/head
gedoor 3 years ago
parent 93cd72bd78
commit b10eb256fa
  1. 3
      app/src/main/java/io/legado/app/ui/book/read/config/SpeakEngineEditDialog.kt
  2. 10
      app/src/main/res/menu/speak_engine_edit.xml

@ -11,6 +11,7 @@ import io.legado.app.base.BaseDialogFragment
import io.legado.app.data.entities.HttpTTS import io.legado.app.data.entities.HttpTTS
import io.legado.app.databinding.DialogHttpTtsEditBinding import io.legado.app.databinding.DialogHttpTtsEditBinding
import io.legado.app.lib.theme.primaryColor import io.legado.app.lib.theme.primaryColor
import io.legado.app.ui.about.AppLogDialog
import io.legado.app.ui.login.SourceLoginActivity import io.legado.app.ui.login.SourceLoginActivity
import io.legado.app.ui.widget.code.addJsPattern import io.legado.app.ui.widget.code.addJsPattern
import io.legado.app.ui.widget.code.addJsonPattern import io.legado.app.ui.widget.code.addJsonPattern
@ -91,6 +92,8 @@ class SpeakEngineEditDialog() : BaseDialogFragment(R.layout.dialog_http_tts_edit
} }
} }
} }
R.id.menu_del_login_header -> dataFromView().removeLoginHeader()
R.id.menu_log -> showDialogFragment<AppLogDialog>()
R.id.menu_help -> help() R.id.menu_help -> help()
} }
return true return true

@ -15,6 +15,16 @@
android:title="@string/login" android:title="@string/login"
app:showAsAction="never" /> app:showAsAction="never" />
<item
android:id="@+id/menu_del_login_header"
android:title="@string/del_login_header"
app:showAsAction="never" />
<item
android:id="@+id/menu_log"
android:title="@string/log"
app:showAsAction="never" />
<item <item
android:id="@+id/menu_help" android:id="@+id/menu_help"
android:title="@string/help" android:title="@string/help"

Loading…
Cancel
Save