Fix
This commit is contained in:
@@ -19,6 +19,7 @@ import java.net.URLDecoder
|
||||
class UrlSchemeActivity : BaseComponentActivity() {
|
||||
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
try {
|
||||
intent.apply {
|
||||
if (action == Intent.ACTION_SEND) {
|
||||
|
||||
@@ -84,10 +84,10 @@ class ServerCustomConfigActivity : BaseComponentActivity() {
|
||||
private var initialContent: String = ""
|
||||
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
val config = MmkvManager.decodeServerConfig(editGuid)
|
||||
initialRemarks = config?.remarks ?: ""
|
||||
initialContent = MmkvManager.decodeServerRaw(editGuid).orEmpty()
|
||||
super.onCreate(savedInstanceState)
|
||||
}
|
||||
|
||||
@Composable
|
||||
|
||||
Reference in New Issue
Block a user