update website link (#655)

This commit is contained in:
Cuong-Tran 2025-01-26 02:04:20 +07:00 committed by GitHub
parent 4a0c1384d0
commit 747cd48abc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 20 additions and 18 deletions

View file

@ -87,7 +87,7 @@ fun MoreScreen(
textRes = MR.strings.fdroid_warning, textRes = MR.strings.fdroid_warning,
modifier = Modifier.clickable { modifier = Modifier.clickable {
uriHandler.openUri( uriHandler.openUri(
"https://mihon.app/docs/faq/general#how-do-i-update-from-the-f-droid-builds", "https://komikku-app.github.io/docs/faq/general#how-do-i-update-from-the-f-droid-builds",
) )
}, },
) )

View file

@ -56,7 +56,7 @@ internal class GuidesStep(
} }
} }
const val GETTING_STARTED_URL = "https://mihon.app/docs/guides/getting-started" const val GETTING_STARTED_URL = "https://komikku-app.github.io/docs/guides/getting-started"
@PreviewLightDark @PreviewLightDark
@Composable @Composable

View file

@ -82,7 +82,7 @@ object SettingsDataScreen : SearchableSettings {
private fun readResolve(): Any = SettingsDataScreen private fun readResolve(): Any = SettingsDataScreen
val restorePreferenceKeyString = MR.strings.label_backup val restorePreferenceKeyString = MR.strings.label_backup
const val HELP_URL = "https://mihon.app/docs/faq/storage" const val HELP_URL = "https://komikku-app.github.io/docs/faq/storage"
@ReadOnlyComposable @ReadOnlyComposable
@Composable @Composable

View file

@ -75,7 +75,7 @@ object SettingsTrackingScreen : SearchableSettings {
@Composable @Composable
override fun RowScope.AppBarAction() { override fun RowScope.AppBarAction() {
val uriHandler = LocalUriHandler.current val uriHandler = LocalUriHandler.current
IconButton(onClick = { uriHandler.openUri("https://mihon.app/docs/guides/tracking") }) { IconButton(onClick = { uriHandler.openUri("https://komikku-app.github.io/docs/guides/tracking") }) {
Icon( Icon(
imageVector = Icons.AutoMirrored.Outlined.HelpOutline, imageVector = Icons.AutoMirrored.Outlined.HelpOutline,
contentDescription = stringResource(MR.strings.tracking_guide), contentDescription = stringResource(MR.strings.tracking_guide),

View file

@ -7,6 +7,8 @@ import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size import androidx.compose.foundation.layout.size
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.outlined.Public
import androidx.compose.material3.CircularProgressIndicator import androidx.compose.material3.CircularProgressIndicator
import androidx.compose.runtime.Composable import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue import androidx.compose.runtime.getValue
@ -246,7 +248,7 @@ object AboutScreen : Screen() {
item { item {
TextPreferenceWidget( TextPreferenceWidget(
title = stringResource(MR.strings.privacy_policy), title = stringResource(MR.strings.privacy_policy),
onPreferenceClick = { uriHandler.openUri("https://mihon.app/privacy/") }, onPreferenceClick = { uriHandler.openUri("https://komikku-app.github.io/privacy/") },
) )
} }
@ -257,11 +259,11 @@ object AboutScreen : Screen() {
.padding(vertical = 8.dp), .padding(vertical = 8.dp),
horizontalArrangement = Arrangement.Center, horizontalArrangement = Arrangement.Center,
) { ) {
// LinkIcon( LinkIcon(
// label = stringResource(MR.strings.website), label = stringResource(MR.strings.website),
// icon = Icons.Outlined.Public, icon = Icons.Outlined.Public,
// url = "https://mihon.app", url = "https://komikku-app.github.io",
// ) )
LinkIcon( LinkIcon(
label = "Discord", label = "Discord",
icon = CustomIcons.Discord, icon = CustomIcons.Discord,

View file

@ -180,7 +180,7 @@ fun WebViewScreenContent(
.clip(MaterialTheme.shapes.small) .clip(MaterialTheme.shapes.small)
.clickable { .clickable {
uriHandler.openUri( uriHandler.openUri(
"https://mihon.app/docs/guides/troubleshooting/#cloudflare", "https://komikku-app.github.io/docs/guides/troubleshooting/#cloudflare",
) )
}, },
) )

View file

@ -772,7 +772,7 @@ class LibraryUpdateJob(private val context: Context, workerParams: WorkerParamet
private const val WORK_NAME_AUTO = "LibraryUpdate-auto" private const val WORK_NAME_AUTO = "LibraryUpdate-auto"
private const val WORK_NAME_MANUAL = "LibraryUpdate-manual" private const val WORK_NAME_MANUAL = "LibraryUpdate-manual"
private const val ERROR_LOG_HELP_URL = "https://mihon.app/docs/guides/troubleshooting/" private const val ERROR_LOG_HELP_URL = "https://komikku-app.github.io/docs/guides/troubleshooting/"
/** /**
* Key for category to update. * Key for category to update.

View file

@ -402,7 +402,7 @@ class LibraryUpdateNotifier(
} }
companion object { companion object {
const val HELP_WARNING_URL = "https://mihon.app/docs/faq/library#why-am-i-warned-about-large-bulk-updates-and-downloads" const val HELP_WARNING_URL = "https://komikku-app.github.io/docs/faq/library#why-am-i-warned-about-large-bulk-updates-and-downloads"
} }
} }

View file

@ -166,7 +166,7 @@ internal class AppUpdateNotifier(private val context: Context) {
setContentIntent( setContentIntent(
NotificationHandler.openUrl( NotificationHandler.openUrl(
context, context,
"https://mihon.app/docs/faq/general#how-do-i-update-from-the-f-droid-builds", "https://komikku-app.github.io/docs/faq/general#how-do-i-update-from-the-f-droid-builds",
), ),
) )
} }

View file

@ -32,7 +32,7 @@ fun Screen.migrateSourceTab(): TabContent {
title = stringResource(MR.strings.migration_help_guide), title = stringResource(MR.strings.migration_help_guide),
icon = Icons.AutoMirrored.Outlined.HelpOutline, icon = Icons.AutoMirrored.Outlined.HelpOutline,
onClick = { onClick = {
uriHandler.openUri("https://mihon.app/docs/guides/source-migration") uriHandler.openUri("https://komikku-app.github.io/docs/guides/source-migration")
}, },
), ),
), ),

View file

@ -1,8 +1,8 @@
package tachiyomi.core.common package tachiyomi.core.common
object Constants { object Constants {
const val URL_HELP = "https://mihon.app/docs/guides/troubleshooting/" const val URL_HELP = "https://komikku-app.github.io/docs/guides/troubleshooting/"
const val URL_HELP_UPCOMING = "https://mihon.app/docs/faq/updates/upcoming" const val URL_HELP_UPCOMING = "https://komikku-app.github.io/docs/faq/updates/upcoming"
const val MANGA_EXTRA = "manga" const val MANGA_EXTRA = "manga"

View file

@ -429,7 +429,7 @@ actual class LocalSource(
companion object { companion object {
const val ID = 0L const val ID = 0L
const val HELP_URL = "https://mihon.app/docs/guides/local-source/" const val HELP_URL = "https://komikku-app.github.io/docs/guides/local-source/"
// SY --> // SY -->
const val COMIC_INFO_ARCHIVE = "ComicInfo.cbm" const val COMIC_INFO_ARCHIVE = "ComicInfo.cbm"