@ -199,13 +199,9 @@ class BookSourceEditActivity :
add ( EditEntity ( " bookSourceName " , source ?. bookSourceName , R . string . source _name ) )
add ( EditEntity ( " bookSourceGroup " , source ?. bookSourceGroup , R . string . source _group ) )
add ( EditEntity ( " bookSourceComment " , source ?. bookSourceComment , R . string . comment ) )
add (
EditEntity (
" loginUrl " ,
source ?. loginUrl ,
R . string . login _url
)
)
add ( EditEntity ( " loginUrl " , source ?. loginUrl , R . string . login _url ) )
add ( EditEntity ( " loginUi " , GSON . toJson ( source ?. loginUi ) , R . string . login _ui ) )
add ( EditEntity ( " loginCheckJs " , source ?. loginCheckJs , R . string . login _check _js ) )
add ( EditEntity ( " bookUrlPattern " , source ?. bookUrlPattern , R . string . book _url _pattern ) )
add ( EditEntity ( " header " , source ?. header , R . string . source _http _header ) )
add (
@ -303,6 +299,8 @@ class BookSourceEditActivity :
" bookSourceName " -> source . bookSourceName = it . value ?: " "
" bookSourceGroup " -> source . bookSourceGroup = it . value
" loginUrl " -> source . loginUrl = it . value
" loginUi " -> source . loginUi = GSON . fromJsonArray ( it . value )
" loginCheckJs " -> source . loginCheckJs = it . value
" bookUrlPattern " -> source . bookUrlPattern = it . value
" header " -> source . header = it . value
" bookSourceComment " -> source . bookSourceComment = it . value ?: " "