mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Only show the old article toolbar on ios embedded web (/app)
This commit is contained in:
parent
58d6e508bb
commit
bffe887b92
1 changed files with 9 additions and 7 deletions
|
|
@ -157,13 +157,15 @@ export function ArticleContainer(props: ArticleContainerProps): JSX.Element {
|
|||
)}
|
||||
</SpanBox>
|
||||
) : null}
|
||||
<ArticleHeaderToolbar
|
||||
articleTitle={props.article.title}
|
||||
articleShareURL={props.highlightsBaseURL}
|
||||
setShowShareArticleModal={setShowShareModal}
|
||||
setShowHighlightsModal={props.setShowHighlightsModal}
|
||||
hasHighlights={props.article.highlights?.length > 0}
|
||||
/>
|
||||
{props.isAppleAppEmbed && (
|
||||
<ArticleHeaderToolbar
|
||||
articleTitle={props.article.title}
|
||||
articleShareURL={props.highlightsBaseURL}
|
||||
setShowShareArticleModal={setShowShareModal}
|
||||
setShowHighlightsModal={props.setShowHighlightsModal}
|
||||
hasHighlights={props.article.highlights?.length > 0}
|
||||
/>
|
||||
)}
|
||||
</VStack>
|
||||
<Article
|
||||
articleId={props.article.id}
|
||||
|
|
|
|||
Loading…
Reference in a new issue