Send title text with share original option

This commit is contained in:
Jackson Harper
2023-11-06 15:12:30 +08:00
parent b9df65baad
commit 6c5afeb0e4
4 changed files with 8 additions and 7 deletions

File diff suppressed because one or more lines are too long

View File

@ -1400,7 +1400,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 1.35.0;
MARKETING_VERSION = 1.36.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = app.omnivore.app;
@ -1435,7 +1435,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 1.35.0;
MARKETING_VERSION = 1.36.0;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = app.omnivore.app;
PRODUCT_NAME = "$(TARGET_NAME)";
@ -1490,7 +1490,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.35.0;
MARKETING_VERSION = 1.36.0;
PRODUCT_BUNDLE_IDENTIFIER = app.omnivore.app;
PRODUCT_NAME = Omnivore;
PROVISIONING_PROFILE_SPECIFIER = "";
@ -1831,7 +1831,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.35.0;
MARKETING_VERSION = 1.36.0;
PRODUCT_BUNDLE_IDENTIFIER = app.omnivore.app;
PRODUCT_NAME = Omnivore;
PROVISIONING_PROFILE_SPECIFIER = "";

File diff suppressed because one or more lines are too long

View File

@ -258,7 +258,8 @@ export function ArticleContainer(props: ArticleContainerProps): JSX.Element {
const share = () => {
if (navigator.share) {
navigator.share({
title: title,
title: title ?? props.article.title,
text: title ?? props.article.title,
url: props.article.originalArticleUrl,
})
}