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,
navigate = {
if(runBlocking { ResourceHelper.findFileForKind(context, locale, FileKind.Dictionary) } == null) {
context.openURI(
"https://codeberg.org/Helium314/aosp-dictionaries#dictionaries",
true
)
context.openURI("https://keyboard.futo.org/dictionaries", true)
} else {
deleteDialogInfo.value = DeleteInfo(locale, FileKind.Dictionary)
}