mirror of
https://github.com/gedoor/legado.git
synced 2024-07-06 23:47:49 +08:00
优化
This commit is contained in:
parent
4ada1eddc0
commit
e0d03f56c1
@ -24,7 +24,7 @@ class SourceLoginActivity : VMBaseActivity<ActivitySourceLoginBinding, SourceLog
|
||||
private fun initView(source: BaseSource) {
|
||||
if (source.loginUi.isNullOrEmpty()) {
|
||||
supportFragmentManager.beginTransaction()
|
||||
.replace(R.id.fl_fragment, WebViewLoginFragment())
|
||||
.replace(R.id.fl_fragment, WebViewLoginFragment(), "webViewLogin")
|
||||
.commit()
|
||||
} else {
|
||||
showDialogFragment<SourceLoginDialog>()
|
||||
|
@ -9,6 +9,7 @@
|
||||
android:id="@+id/title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:attachToActivity="false"
|
||||
app:title="@string/login" />
|
||||
|
||||
<WebView
|
||||
|
Loading…
Reference in New Issue
Block a user