Missing atoms
All checks were successful
repod / nextcloud (push) Successful in 1m9s
repod / xml (push) Successful in 22s
repod / nodejs (push) Successful in 1m58s

This commit is contained in:
Michel Roux 2023-12-23 22:31:48 +01:00
parent 302f1954ce
commit ea0bfcc532
3 changed files with 20 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<div> <div :class="currentEpisode ? 'margin' : ''">
<NcLoadingIcon v-if="loading" class="loading" /> <NcLoadingIcon v-if="loading" class="loading" />
<ul v-if="!loading"> <ul v-if="!loading">
<NcListItem v-for="episode in episodes" <NcListItem v-for="episode in episodes"
@ -103,4 +103,8 @@ export default {
.loading { .loading {
margin: 2rem 0; margin: 2rem 0;
} }
.margin {
margin-bottom: 6rem;
}
</style> </style>

View File

@ -1,6 +1,6 @@
<template> <template>
<div v-if="player.episode" class="footer"> <div v-if="player.episode" class="footer">
<NcLoadingIcon v-if="!player.loaded" /> <NcLoadingIcon v-if="!player.loaded" class="loading" />
<ProgressBar v-if="player.loaded" /> <ProgressBar v-if="player.loaded" />
<div v-if="player.loaded" class="player"> <div v-if="player.loaded" class="player">
<img :src="player.episode.episodeImage"> <img :src="player.episode.episodeImage">
@ -63,4 +63,8 @@ export default {
.volume { .volume {
width: 10%; width: 10%;
} }
.loading {
margin: 2rem 0;
}
</style> </style>

View File

@ -1,5 +1,5 @@
<template> <template>
<NcAppNavigation> <NcAppNavigation :class="currentEpisode ? 'margin' : ''">
<NcAppContentList> <NcAppContentList>
<router-link to="/"> <router-link to="/">
<NcAppNavigationNew :text="t('Add a podcast')"> <NcAppNavigationNew :text="t('Add a podcast')">
@ -45,6 +45,9 @@ export default {
} }
}, },
computed: { computed: {
currentEpisode() {
return this.$store.state.player.episode
},
subscriptions() { subscriptions() {
return this.$store.state.subscriptions.subscriptions return this.$store.state.subscriptions.subscriptions
}, },
@ -61,3 +64,9 @@ export default {
}, },
} }
</script> </script>
<style scoped>
.margin {
margin-bottom: 6rem;
}
</style>