mirror of
https://github.com/tooot-app/app
synced 2025-02-04 04:17:36 +01:00
Fix cannot switch language to English
This commit is contained in:
parent
49c67da6de
commit
6e406db703
@ -64,7 +64,7 @@ const SettingsApp: React.FC = () => {
|
||||
cancelButtonIndex: options.length - 1
|
||||
},
|
||||
buttonIndex => {
|
||||
if (!buttonIndex) return
|
||||
if (buttonIndex === undefined) return
|
||||
if (buttonIndex < options.length - 1) {
|
||||
analytics('settings_language_press', {
|
||||
current: i18n.language,
|
||||
|
Loading…
x
Reference in New Issue
Block a user