Skip to content

Commit 85cca95

Browse files
authored
Merge pull request #1699 from nextcloud/stable9-backport-1644
[stable9] Set proper web title for apple
2 parents 2f546ea + 81d5255 commit 85cca95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: core/templates/layout.user.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<meta name="apple-itunes-app" content="app-id=<?php p($theme->getiTunesAppId()); ?>">
1717
<meta name="apple-mobile-web-app-capable" content="yes">
1818
<meta name="apple-mobile-web-app-status-bar-style" content="black">
19-
<meta name="apple-mobile-web-app-title" content="<?php p((!empty($_['application']) && $_['appid']!='files')? $_['application']:'Nextcloud'); ?>">
19+
<meta name="apple-mobile-web-app-title" content="<?php p((!empty($_['application']) && $_['appid']!='files')? $_['application']:$theme->getTitle()); ?>">
2020
<meta name="mobile-web-app-capable" content="yes">
2121
<meta name="theme-color" content="<?php p($theme->getMailHeaderColor()); ?>">
2222
<link rel="shortcut icon" href="<?php print_unescaped(image_path($_['appid'], 'favicon.ico')); /* IE11+ supports png */ ?>">

0 commit comments

Comments
 (0)