mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	@@ -62,7 +62,7 @@ fun MoreScreen(
 | 
			
		||||
                    WarningBanner(
 | 
			
		||||
                        textRes = R.string.fdroid_warning,
 | 
			
		||||
                        modifier = Modifier.clickable {
 | 
			
		||||
                            uriHandler.openUri("https://tachiyomi.org/help/faq/#how-do-i-migrate-from-the-f-droid-version")
 | 
			
		||||
                            uriHandler.openUri("https://tachiyomi.org/docs/faq/general#migrating-from-f-droid")
 | 
			
		||||
                        },
 | 
			
		||||
                    )
 | 
			
		||||
                }
 | 
			
		||||
 
 | 
			
		||||
@@ -70,7 +70,7 @@ object SettingsTrackingScreen : SearchableSettings {
 | 
			
		||||
    @Composable
 | 
			
		||||
    override fun RowScope.AppBarAction() {
 | 
			
		||||
        val uriHandler = LocalUriHandler.current
 | 
			
		||||
        IconButton(onClick = { uriHandler.openUri("https://tachiyomi.org/help/guides/tracking/") }) {
 | 
			
		||||
        IconButton(onClick = { uriHandler.openUri("https://tachiyomi.org/docs/guides/tracking") }) {
 | 
			
		||||
            Icon(
 | 
			
		||||
                imageVector = Icons.Outlined.HelpOutline,
 | 
			
		||||
                contentDescription = stringResource(R.string.tracking_guide),
 | 
			
		||||
 
 | 
			
		||||
@@ -149,7 +149,7 @@ object AboutScreen : Screen() {
 | 
			
		||||
                item {
 | 
			
		||||
                    TextPreferenceWidget(
 | 
			
		||||
                        title = stringResource(R.string.help_translate),
 | 
			
		||||
                        onPreferenceClick = { uriHandler.openUri("https://tachiyomi.org/help/contribution/#translation") },
 | 
			
		||||
                        onPreferenceClick = { uriHandler.openUri("https://tachiyomi.org/docs/contribution#translation") },
 | 
			
		||||
                    )
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -175,7 +175,7 @@ fun WebViewScreenContent(
 | 
			
		||||
                WarningBanner(
 | 
			
		||||
                    textRes = R.string.information_cloudflare_help,
 | 
			
		||||
                    modifier = Modifier.clickable {
 | 
			
		||||
                        uriHandler.openUri("https://tachiyomi.org/help/guides/troubleshooting/#solving-cloudflare-issues")
 | 
			
		||||
                        uriHandler.openUri("https://tachiyomi.org/docs/guides/troubleshooting/#cloudflare")
 | 
			
		||||
                    },
 | 
			
		||||
                )
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
@@ -497,7 +497,7 @@ class LibraryUpdateJob(private val context: Context, workerParams: WorkerParamet
 | 
			
		||||
        private const val WORK_NAME_AUTO = "LibraryUpdate-auto"
 | 
			
		||||
        private const val WORK_NAME_MANUAL = "LibraryUpdate-manual"
 | 
			
		||||
 | 
			
		||||
        private const val ERROR_LOG_HELP_URL = "https://tachiyomi.org/help/guides/troubleshooting"
 | 
			
		||||
        private const val ERROR_LOG_HELP_URL = "https://tachiyomi.org/docs/guides/troubleshooting/"
 | 
			
		||||
 | 
			
		||||
        private const val MANGA_PER_SOURCE_QUEUE_WARNING_THRESHOLD = 60
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -329,11 +329,11 @@ class LibraryUpdateNotifier(private val context: Context) {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    companion object {
 | 
			
		||||
        const val HELP_WARNING_URL = "https://tachiyomi.org/help/faq/#why-does-the-app-warn-about-large-bulk-updates-and-downloads"
 | 
			
		||||
        const val HELP_WARNING_URL = "https://tachiyomi.org/docs/faq/application/library#why-am-i-warned-about-large-bulk-updates-and-downloads"
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
private const val NOTIF_MAX_CHAPTERS = 5
 | 
			
		||||
private const val NOTIF_TITLE_MAX_LEN = 45
 | 
			
		||||
private const val NOTIF_ICON_SIZE = 192
 | 
			
		||||
private const val HELP_SKIPPED_URL = "https://tachiyomi.org/help/faq/#why-does-global-update-skip-some-entries"
 | 
			
		||||
private const val HELP_SKIPPED_URL = "https://tachiyomi.org/docs/faq/application/library#why-does-global-update-skip-certain-entries"
 | 
			
		||||
 
 | 
			
		||||
@@ -143,7 +143,7 @@ internal class AppUpdateNotifier(private val context: Context) {
 | 
			
		||||
            setContentTitle(context.getString(R.string.update_check_notification_update_available))
 | 
			
		||||
            setContentText(context.getString(R.string.update_check_fdroid_migration_info))
 | 
			
		||||
            setSmallIcon(R.drawable.ic_tachi)
 | 
			
		||||
            setContentIntent(NotificationHandler.openUrl(context, "https://tachiyomi.org/help/faq/#how-do-i-migrate-from-the-f-droid-version"))
 | 
			
		||||
            setContentIntent(NotificationHandler.openUrl(context, "https://tachiyomi.org/docs/faq/general#migrating-from-f-droid"))
 | 
			
		||||
        }
 | 
			
		||||
        notificationBuilder.show(Notifications.ID_APP_UPDATE_PROMPT)
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
@@ -102,7 +102,7 @@ class ExtensionDetailsScreenModel(
 | 
			
		||||
        val extension = state.value.extension ?: return ""
 | 
			
		||||
 | 
			
		||||
        if (!extension.hasReadme) {
 | 
			
		||||
            return "https://tachiyomi.org/help/faq/#extensions"
 | 
			
		||||
            return "https://tachiyomi.org/docs/faq/extensions"
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        val pkgName = extension.pkgName.substringAfter("eu.kanade.tachiyomi.extension.")
 | 
			
		||||
 
 | 
			
		||||
@@ -31,7 +31,7 @@ fun Screen.migrateSourceTab(): TabContent {
 | 
			
		||||
                title = stringResource(R.string.migration_help_guide),
 | 
			
		||||
                icon = Icons.Outlined.HelpOutline,
 | 
			
		||||
                onClick = {
 | 
			
		||||
                    uriHandler.openUri("https://tachiyomi.org/help/guides/source-migration/")
 | 
			
		||||
                    uriHandler.openUri("https://tachiyomi.org/docs/guides/source-migration")
 | 
			
		||||
                },
 | 
			
		||||
            ),
 | 
			
		||||
        ),
 | 
			
		||||
 
 | 
			
		||||
@@ -158,7 +158,7 @@ object LibraryTab : Tab {
 | 
			
		||||
                            EmptyScreenAction(
 | 
			
		||||
                                stringResId = R.string.getting_started_guide,
 | 
			
		||||
                                icon = Icons.Outlined.HelpOutline,
 | 
			
		||||
                                onClick = { handler.openUri("https://tachiyomi.org/help/guides/getting-started") },
 | 
			
		||||
                                onClick = { handler.openUri("https://tachiyomi.org/docs/guides/getting-started") },
 | 
			
		||||
                            ),
 | 
			
		||||
                        ),
 | 
			
		||||
                    )
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user