diff --git a/app/src/main/kotlin/org/koitharu/kotatsu/sync/ui/SyncHostDialogFragment.kt b/app/src/main/kotlin/org/koitharu/kotatsu/sync/ui/SyncHostDialogFragment.kt index 9fe2052cc..e9690edc0 100644 --- a/app/src/main/kotlin/org/koitharu/kotatsu/sync/ui/SyncHostDialogFragment.kt +++ b/app/src/main/kotlin/org/koitharu/kotatsu/sync/ui/SyncHostDialogFragment.kt @@ -49,7 +49,7 @@ class SyncHostDialogFragment : AlertDialogFragment { val result = requireViewBinding().edit.text?.toString().orEmpty() var scheme = "" - if ( ! result.startsWith("https://") && ! result.startsWith("http://")) { + if (!result.startsWith("https://") && !result.startsWith("http://")) { scheme = "http://" } syncSettings.syncURL = "$scheme$result" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index b2c0caa41..9052be2b8 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -375,7 +375,7 @@ Find similar Synchronization settings Server address - You can use a self-hosted synchronization server or a default one. Don\'t change this if you\'re not sure what you\'re doing. + You can use a self-hosted synchronization server or a default one. Don\'t change this if you\'re not sure what you\'re doing. Ignore SSL errors Choose mirror automatically Automatically switch domains for manga sources on errors if mirrors are available