summaryrefslogtreecommitdiffstats
path: root/settings/Controller
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-05-29 17:17:00 +0200
committerJulius Härtl <jus@bitgrid.net>2018-06-06 11:40:09 +0200
commit1ad8ea75b588dfe227c69738b0b715b4d3e688bc (patch)
tree59051917357890ec580f39ca81eaef9ce98ff4b1 /settings/Controller
parent92b31e49a7a4b0e89863efe6b086ed73fbac6cff (diff)
downloadnextcloud-server-1ad8ea75b588dfe227c69738b0b715b4d3e688bc.tar.gz
nextcloud-server-1ad8ea75b588dfe227c69738b0b715b4d3e688bc.zip
Fix active indicator and add proper separation between screenshot and preview
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'settings/Controller')
-rw-r--r--settings/Controller/AppSettingsController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/Controller/AppSettingsController.php b/settings/Controller/AppSettingsController.php
index 6784a53aee9..a14571f852d 100644
--- a/settings/Controller/AppSettingsController.php
+++ b/settings/Controller/AppSettingsController.php
@@ -486,7 +486,7 @@ class AppSettingsController extends Controller {
$appStoreData = $manager->getApp($appData['id']);
$appData['appstoreData'] = $appStoreData;
$appData['license'] = $appStoreData['releases'][0]['licenses'];
- $appData['preview'] = isset($appStoreData['screenshots'][0]['url']) ? 'https://usercontent.apps.nextcloud.com/'.base64_encode($appStoreData['screenshots'][0]['url']) : '';
+ $appData['screenshot'] = isset($appStoreData['screenshots'][0]['url']) ? 'https://usercontent.apps.nextcloud.com/'.base64_encode($appStoreData['screenshots'][0]['url']) : '';
return $appData;
}, $apps);