mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	Update website links
This commit is contained in:
		@@ -62,7 +62,7 @@ fun MoreScreen(
 | 
			
		||||
                    WarningBanner(
 | 
			
		||||
                        textRes = R.string.fdroid_warning,
 | 
			
		||||
                        modifier = Modifier.clickable {
 | 
			
		||||
                            uriHandler.openUri("https://tachiyomi.org/docs/faq/general#migrating-from-f-droid")
 | 
			
		||||
                            uriHandler.openUri("https://tachiyomi.org/docs/faq/general#how-do-i-update-from-the-f-droid-builds")
 | 
			
		||||
                        },
 | 
			
		||||
                    )
 | 
			
		||||
                }
 | 
			
		||||
 
 | 
			
		||||
@@ -149,7 +149,7 @@ object AboutScreen : Screen() {
 | 
			
		||||
                item {
 | 
			
		||||
                    TextPreferenceWidget(
 | 
			
		||||
                        title = stringResource(R.string.help_translate),
 | 
			
		||||
                        onPreferenceClick = { uriHandler.openUri("https://tachiyomi.org/docs/contribution#translation") },
 | 
			
		||||
                        onPreferenceClick = { uriHandler.openUri("https://tachiyomi.org/docs/contribute#translation") },
 | 
			
		||||
                    )
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
@@ -163,7 +163,7 @@ object AboutScreen : Screen() {
 | 
			
		||||
                item {
 | 
			
		||||
                    TextPreferenceWidget(
 | 
			
		||||
                        title = stringResource(R.string.privacy_policy),
 | 
			
		||||
                        onPreferenceClick = { uriHandler.openUri("https://tachiyomi.org/privacy") },
 | 
			
		||||
                        onPreferenceClick = { uriHandler.openUri("https://tachiyomi.org/privacy/") },
 | 
			
		||||
                    )
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -329,11 +329,11 @@ class LibraryUpdateNotifier(private val context: Context) {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    companion object {
 | 
			
		||||
        const val HELP_WARNING_URL = "https://tachiyomi.org/docs/faq/application/library#why-am-i-warned-about-large-bulk-updates-and-downloads"
 | 
			
		||||
        const val HELP_WARNING_URL = "https://tachiyomi.org/docs/faq/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/docs/faq/application/library#why-does-global-update-skip-certain-entries"
 | 
			
		||||
private const val HELP_SKIPPED_URL = "https://tachiyomi.org/docs/faq/library#why-is-global-update-skipping-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/docs/faq/general#migrating-from-f-droid"))
 | 
			
		||||
            setContentIntent(NotificationHandler.openUrl(context, "https://tachiyomi.org/docs/faq/general#how-do-i-update-from-the-f-droid-builds"))
 | 
			
		||||
        }
 | 
			
		||||
        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/docs/faq/extensions"
 | 
			
		||||
            return "https://tachiyomi.org/docs/faq/browse/extensions"
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        val pkgName = extension.pkgName.substringAfter("eu.kanade.tachiyomi.extension.")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user