fix: telegram translator disapper in error dialog
Signed-off-by: Next Alone <12210746+NextAlone@users.noreply.github.com>
This commit is contained in:
parent
29dde75c8c
commit
d88054f9dc
@ -238,15 +238,18 @@ object AlertUtil {
|
||||
|
||||
val items = LinkedList<String>()
|
||||
|
||||
items.addAll(arrayOf(
|
||||
items.addAll(
|
||||
arrayOf(
|
||||
LocaleController.getString("ProviderGoogleTranslate", R.string.ProviderGoogleTranslate),
|
||||
LocaleController.getString("ProviderGoogleTranslateCN", R.string.ProviderGoogleTranslateCN),
|
||||
LocaleController.getString("ProviderYandexTranslate", R.string.ProviderYandexTranslate),
|
||||
LocaleController.getString("ProviderLingocloud", R.string.ProviderLingocloud),
|
||||
LocaleController.getString("ProviderMicrosoftTranslator", R.string.ProviderMicrosoftTranslator),
|
||||
LocaleController.getString("ProviderYouDao", R.string.ProviderYouDao),
|
||||
LocaleController.getString("ProviderDeepLTranslate", R.string.ProviderDeepLTranslate)
|
||||
))
|
||||
LocaleController.getString("ProviderDeepLTranslate", R.string.ProviderDeepLTranslate),
|
||||
LocaleController.getString("ProviderTelegram", R.string.ProviderTelegram)
|
||||
).toList()
|
||||
)
|
||||
|
||||
popup.setItems(items.toTypedArray()) { item, _ ->
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user