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

View File

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

View File

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