Skip to content

Commit 20e3d0a

Browse files
chrisbobbegnprice
authored andcommitted
ui [nfc]: Add TODO to translate "OK" button text in showErrorAlert
1 parent f0b0c60 commit 20e3d0a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/utils/info.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,12 @@ export const showErrorAlert = (
3737
if (learnMoreButton) {
3838
buttons.push(makeLearnMoreButton(learnMoreButton));
3939
}
40-
buttons.push({ text: 'OK', onPress: () => {} });
40+
buttons.push({
41+
// TODO: translate
42+
text: 'OK',
43+
44+
onPress: () => {},
45+
});
4146

4247
Alert.alert(title, message, buttons, { cancelable: true });
4348
};

0 commit comments

Comments
 (0)