Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Mobile
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
222
Merge Requests
13
Security & Compliance
Packages
Analytics
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Minds
Minds Mobile
Compare Revisions
562d838b0a3c9a27d78044040a03b25619d93cf1...cb3a8cb119051c14ab31324254df1c806f2756fa
Source
cb3a8cb119051c14ab31324254df1c806f2756fa
...
Target
562d838b0a3c9a27d78044040a03b25619d93cf1
Compare
Commits (2)
(fix) truncate title in share dialog if too long
· 52d34cb7
Juan Manuel Solaro
authored
9 hours ago
52d34cb7
Merge branch 'share-dialog-fix' into 'release/3.15.1'
· cb3a8cb1
Brian Hatchet
authored
4 minutes ago
Truncate title in share dialog if too long See merge request
!517
cb3a8cb1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/share/ShareService.js
View file @
cb3a8cb1
...
...
@@ -22,6 +22,12 @@ class ShareService {
* @param {string} url
*/
share
(
title
,
url
)
{
// added this because if tittle (activity text) is too long, causes problem in android
title
=
title
.
length
>
50
?
title
.
substring
(
0
,
46
)
+
'
...
'
:
title
;
// added a settimeout as a workaround for ios, without it the share dialog is not shown
setTimeout
(
async
()
=>
{
try
{
...
...
This diff is collapsed.