Skip to content

Commit

Permalink
adjust urls in share modal to new types
Browse files Browse the repository at this point in the history
  • Loading branch information
CDFN committed May 14, 2024
1 parent 5bdff97 commit 22df49e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/screens/Observation/Buttons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export const ButtonFields = ({
.map(q => q.data!);
Share.open({
title: base64Urls.length > 0 ? t(m.shareMediaTitle) : t(m.shareTextTitle),
urls: base64Urls,
urls: base64Urls.map(url => url.url),
message: t(m.shareMessage, {
category_name: preset.name,
date: Date.now(),
Expand Down

0 comments on commit 22df49e

Please sign in to comment.