diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index a5904dc..0ca6460 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -32,6 +32,10 @@ class Application extends App implements IBootstrap /** @var IInitialState $initialState */ $initialState = $appContainer->get(IInitialState::class); + if (null === $appManager->getAppInfo(self::GPODDERSYNC_ID)) { + $appManager->disableApp(self::GPODDERSYNC_ID); + } + $gpoddersync = $appManager->isEnabledForUser(self::GPODDERSYNC_ID); if (!$gpoddersync) { try { diff --git a/src/components/Atoms/AppContent.vue b/src/components/Atoms/AppContent.vue index bc41b35..897f5dd 100644 --- a/src/components/Atoms/AppContent.vue +++ b/src/components/Atoms/AppContent.vue @@ -1,5 +1,5 @@ @@ -14,6 +14,12 @@ export default { components: { NcAppContent, }, + props: { + padding: { + type: Boolean, + default: true, + }, + }, computed: { ...mapState(usePlayer, ['episode']), }, @@ -21,7 +27,11 @@ export default { diff --git a/src/components/Home/Item.vue b/src/components/Home/Favorites.vue similarity index 63% rename from src/components/Home/Item.vue rename to src/components/Home/Favorites.vue index 708284c..cc7ebc3 100644 --- a/src/components/Home/Item.vue +++ b/src/components/Home/Favorites.vue @@ -1,7 +1,12 @@ @@ -12,7 +17,7 @@ import { mapState } from 'pinia' import { useSubscriptions } from '../../store/subscriptions.js' export default { - name: 'Item', + name: 'Favorites', components: { Loading, NcAvatar, @@ -26,7 +31,7 @@ export default { computed: { ...mapState(useSubscriptions, ['favs']), currentFavoriteData() { - return this.favs.find((fav) => fav.url === this.url)?.data + return this.favs.find((fav) => fav.url === this.url) }, }, } diff --git a/src/views/Discover.vue b/src/views/Discover.vue index 3df87ba..cc88641 100644 --- a/src/views/Discover.vue +++ b/src/views/Discover.vue @@ -1,5 +1,5 @@