From 7a8880ee68839725cea2110f77631a08e9917543 Mon Sep 17 00:00:00 2001 From: antonio Date: Sun, 30 Jul 2023 12:22:38 +0200 Subject: [PATCH] clean: code cleanup --- .../cappielloantonio/tempo/subsonic/models/PodcastEpisode.kt | 3 --- app/src/main/res/layout/fragment_album_catalogue.xml | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/src/main/java/com/cappielloantonio/tempo/subsonic/models/PodcastEpisode.kt b/app/src/main/java/com/cappielloantonio/tempo/subsonic/models/PodcastEpisode.kt index bd922666..9271a477 100644 --- a/app/src/main/java/com/cappielloantonio/tempo/subsonic/models/PodcastEpisode.kt +++ b/app/src/main/java/com/cappielloantonio/tempo/subsonic/models/PodcastEpisode.kt @@ -2,7 +2,6 @@ package com.cappielloantonio.tempo.subsonic.models import android.os.Parcelable import androidx.annotation.Keep -import androidx.room.ColumnInfo import com.google.gson.annotations.SerializedName import kotlinx.parcelize.Parcelize import java.util.* @@ -29,11 +28,9 @@ class PodcastEpisode : Parcelable { var transcodedContentType: String? = null var transcodedSuffix: String? = null var duration: Int? = null - @ColumnInfo("bitrate") @SerializedName("bitRate") var bitrate: Int? = null var path: String? = null - @ColumnInfo(name = "is_video") @SerializedName("isVideo") var isVideo: Boolean = false var userRating: Int? = null diff --git a/app/src/main/res/layout/fragment_album_catalogue.xml b/app/src/main/res/layout/fragment_album_catalogue.xml index 8c8764c4..c4129713 100644 --- a/app/src/main/res/layout/fragment_album_catalogue.xml +++ b/app/src/main/res/layout/fragment_album_catalogue.xml @@ -39,8 +39,7 @@ android:paddingBottom="24dp" android:text="@string/album_catalogue_title_expanded" app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toEndOf="parent" /> + app:layout_constraintEnd_toEndOf="parent" />