Skip to content

Commit 1e054c4

Browse files
authored
意味もなく非表示にしていたボタンを表示 (#5400)
1 parent f495f1e commit 1e054c4

File tree

1 file changed

+12
-16
lines changed

1 file changed

+12
-16
lines changed

src/screens/EnabledLanguagesSettings.tsx

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import Typography from '~/components/Typography';
2222
import navigationState from '~/store/atoms/navigation';
2323
import { isLEDThemeAtom } from '~/store/atoms/theme';
2424
import { translate } from '~/translation';
25-
import { isDevApp } from '~/utils/isDevApp';
2625
import { ASYNC_STORAGE_KEYS, type AvailableLanguage } from '../constants';
2726
import {
2827
getToggledEnabledLanguages,
@@ -251,24 +250,21 @@ const EnabledLanguagesSettings: React.FC = () => {
251250
OK
252251
</Button>
253252

254-
{/* NOTE: 現状未実装のため本番では非表示 */}
255-
{isDevApp ? (
256-
<View
253+
<View
254+
style={{
255+
marginTop: 32,
256+
}}
257+
>
258+
<Link
257259
style={{
258-
marginTop: 32,
260+
textAlign: 'center',
261+
fontWeight: 'bold',
259262
}}
263+
action={CommonActions.navigate('TTSSettings' as never)}
260264
>
261-
<Link
262-
style={{
263-
textAlign: 'center',
264-
fontWeight: 'bold',
265-
}}
266-
action={CommonActions.navigate('TTSSettings' as never)}
267-
>
268-
{translate('ttsLanguageSettings')}
269-
</Link>
270-
</View>
271-
) : null}
265+
{translate('ttsLanguageSettings')}
266+
</Link>
267+
</View>
272268
</>
273269
)}
274270
/>

0 commit comments

Comments
 (0)