Update dictionary URL

This commit is contained in:
Aleksandras Kostarevas 2024-04-09 13:35:28 -05:00
parent d379cb103b
commit 5460d69669

View File

@ -157,10 +157,7 @@ fun LanguagesScreen(navController: NavHostController = rememberNavController())
style = options.dictionary?.let { NavigationItemStyle.HomeTertiary } ?: NavigationItemStyle.MiscNoArrow, style = options.dictionary?.let { NavigationItemStyle.HomeTertiary } ?: NavigationItemStyle.MiscNoArrow,
navigate = { navigate = {
if(runBlocking { ResourceHelper.findFileForKind(context, locale, FileKind.Dictionary) } == null) { if(runBlocking { ResourceHelper.findFileForKind(context, locale, FileKind.Dictionary) } == null) {
context.openURI( context.openURI("https://keyboard.futo.org/dictionaries", true)
"https://codeberg.org/Helium314/aosp-dictionaries#dictionaries",
true
)
} else { } else {
deleteDialogInfo.value = DeleteInfo(locale, FileKind.Dictionary) deleteDialogInfo.value = DeleteInfo(locale, FileKind.Dictionary)
} }