mirror of
https://github.com/gabehf/tempus.git
synced 2026-03-10 16:00:33 -07:00
Rewriting classes in kotlin
This commit is contained in:
parent
74ec37cb5e
commit
103cd308de
43 changed files with 818 additions and 2325 deletions
|
|
@ -50,7 +50,7 @@ public class SongBottomSheetViewModel extends AndroidViewModel {
|
|||
}
|
||||
|
||||
public void setFavorite(Context context) {
|
||||
if (song.isStarred()) {
|
||||
if (Boolean.TRUE.equals(song.getStarred())) {
|
||||
songRepository.unstar(song.getId());
|
||||
song.setStarred(false);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue