1
0
Fork 0
mirror of https://github.com/voltbonn/profile-picture-generator.git synced 2024-12-22 15:55:08 +00:00

reactivate the hashtag chooser on frames without text

This commit is contained in:
thomasrosen 2021-09-17 18:55:27 +02:00
parent 0a0aa2d44d
commit f793d43254

View file

@ -340,8 +340,14 @@ function App({ getString, locales, currentLocale, onLanguageChange }) {
{true || !!originalPhoto ? (<> {true || !!originalPhoto ? (<>
<h2><Localized id="title_choose_frame" /></h2> <h2><Localized id="title_choose_frame" /></h2>
<FrameChooser onChange={handleFrame} /> <FrameChooser onChange={handleFrame} />
{/* <h2><Localized id="title_choose_hashtag" /></h2> */} {
{/* <HashtagChooser onChange={handleHashtag} /> */} (frameURL || '').startsWith('/static/media/btw_')
? null
: <>
<h2><Localized id="title_choose_hashtag" /></h2>
<HashtagChooser onChange={handleHashtag} />
</>
}
</>) : null} </>) : null}
{!!originalPhoto && !!frameURL ? (<> {!!originalPhoto && !!frameURL ? (<>