ui: update shots

Update the screenshots and feature graphic to reflect app changes.
This commit is contained in:
Alexander Capehart
2022-09-03 12:36:05 -06:00
parent 3ce75f04df
commit 47a26df92d
27 changed files with 56 additions and 56 deletions
@@ -94,14 +94,13 @@ class HomeViewModel(application: Application) :
}
/** Get the specific sort for the given [DisplayMode]. */
fun getSortForDisplay(displayMode: DisplayMode): Sort {
return when (displayMode) {
fun getSortForDisplay(displayMode: DisplayMode) =
when (displayMode) {
DisplayMode.SHOW_SONGS -> settings.libSongSort
DisplayMode.SHOW_ALBUMS -> settings.libAlbumSort
DisplayMode.SHOW_ARTISTS -> settings.libArtistSort
DisplayMode.SHOW_GENRES -> settings.libGenreSort
}
}
/** Update the currently displayed item's [Sort]. */
fun updateCurrentSort(sort: Sort) {
@@ -40,7 +40,7 @@ import org.oxycblt.auxio.util.secsToMs
/**
* A [HomeListFragment] for showing a list of [Album]s.
* @author
* @author OxygenCobalt
*/
class AlbumListFragment : HomeListFragment<Album>() {
private val homeAdapter = AlbumAdapter(this)
@@ -37,7 +37,7 @@ import org.oxycblt.auxio.util.formatDurationMs
/**
* A [HomeListFragment] for showing a list of [Artist]s.
* @author
* @author OxygenCobalt
*/
class ArtistListFragment : HomeListFragment<Artist>() {
private val homeAdapter = ArtistAdapter(this)
@@ -37,7 +37,7 @@ import org.oxycblt.auxio.util.formatDurationMs
/**
* A [HomeListFragment] for showing a list of [Genre]s.
* @author
* @author OxygenCobalt
*/
class GenreListFragment : HomeListFragment<Genre>() {
private val homeAdapter = GenreAdapter(this)
@@ -41,7 +41,7 @@ import org.oxycblt.auxio.util.secsToMs
/**
* A [HomeListFragment] for showing a list of [Song]s.
* @author
* @author OxygenCobalt
*/
class SongListFragment : HomeListFragment<Song>() {
private val homeAdapter = SongAdapter(this)