Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
[Android] Fixed a bug that crashed the app when downloading a song and
registering it for use offline
  • Loading branch information
Carlos Perez committed Jul 6, 2022
1 parent a26477a commit 9b7d635
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ open class Album(
return year.toString()
}

@Ignore
private var _image: String = "";

override var image: String
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package tech.logica10.soniclair.models

import androidx.room.Ignore

class AlbumResponse(val album: AlbumWithSongs) : SubsonicResponse()

class PlaylistsResponse(val playlists: PlaylistsInnerResponse) : SubsonicResponse()
Expand Down Expand Up @@ -28,6 +30,7 @@ class Playlist(
return if(comment.isNullOrBlank()) "by ${owner}" else comment
}

@Ignore
private var _image: String = "";

override var image: String
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package tech.logica10.soniclair.models

import androidx.room.Entity
import androidx.room.Ignore
import androidx.room.PrimaryKey

@Entity
Expand All @@ -24,6 +25,7 @@ class Song(
return "by $artist"
}

@Ignore
private var _image: String = ""

override var image: String
Expand Down

1 comment on commit 9b7d635

@vercel
Copy link

@vercel vercel bot commented on 9b7d635 Jul 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

soniclair – ./

soniclair-git-main-thelinkin3000.vercel.app
soniclair.vercel.app
soniclair-thelinkin3000.vercel.app

Please sign in to comment.