|
|
|
@ -10,6 +10,7 @@ import io.legado.app.R |
|
|
|
|
import io.legado.app.base.BaseDialogFragment |
|
|
|
|
import io.legado.app.data.entities.HttpTTS |
|
|
|
|
import io.legado.app.databinding.DialogHttpTtsEditBinding |
|
|
|
|
import io.legado.app.lib.dialogs.alert |
|
|
|
|
import io.legado.app.lib.theme.primaryColor |
|
|
|
|
import io.legado.app.ui.about.AppLogDialog |
|
|
|
|
import io.legado.app.ui.login.SourceLoginActivity |
|
|
|
@ -92,6 +93,12 @@ class SpeakEngineEditDialog() : BaseDialogFragment(R.layout.dialog_http_tts_edit |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
R.id.menu_show_login_header -> alert { |
|
|
|
|
setTitle(R.string.login_header) |
|
|
|
|
dataFromView().getLoginHeader()?.let { loginHeader -> |
|
|
|
|
setMessage(loginHeader) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
R.id.menu_del_login_header -> dataFromView().removeLoginHeader() |
|
|
|
|
R.id.menu_log -> showDialogFragment<AppLogDialog>() |
|
|
|
|
R.id.menu_help -> help() |
|
|
|
|