-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
78 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 0 additions & 12 deletions
12
app/src/main/kotlin/org/akanework/gramophone/logic/utils/EnvUtils.kt
This file was deleted.
Oops, something went wrong.
42 changes: 0 additions & 42 deletions
42
app/src/main/kotlin/org/akanework/gramophone/logic/utils/FileOpUtils.kt
This file was deleted.
Oops, something went wrong.
40 changes: 40 additions & 0 deletions
40
app/src/main/kotlin/org/akanework/gramophone/ui/FileOpUtils.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
package org.akanework.gramophone.ui | ||
|
||
import org.akanework.gramophone.ui.adapters.AlbumAdapter | ||
import org.akanework.gramophone.ui.adapters.ArtistAdapter | ||
import org.akanework.gramophone.ui.adapters.BaseAdapter | ||
import org.akanework.gramophone.ui.adapters.DateAdapter | ||
import org.akanework.gramophone.ui.adapters.GenreAdapter | ||
import org.akanework.gramophone.ui.adapters.PlaylistAdapter | ||
import org.akanework.gramophone.ui.adapters.SongAdapter | ||
|
||
fun getAdapterType(adapter: BaseAdapter<*>) = | ||
when (adapter) { | ||
is AlbumAdapter -> { | ||
0 | ||
} | ||
|
||
is ArtistAdapter -> { | ||
1 | ||
} | ||
|
||
is DateAdapter -> { | ||
2 | ||
} | ||
|
||
is GenreAdapter -> { | ||
3 | ||
} | ||
|
||
is PlaylistAdapter -> { | ||
4 | ||
} | ||
|
||
is SongAdapter -> { | ||
5 | ||
} | ||
|
||
else -> { | ||
throw IllegalArgumentException() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Highlights of this release: | ||
- Support moving now playing queue items (thanks @topazrn) | ||
- Fix various bugs in shuffle implementation | ||
- Update lyric color system to make sure it always is readable | ||
- Make sure lyric color is same in system-dark-app-light and system-light-app-system modes | ||
- Some bug fixes | ||
- Fixed reproducible builds (hopefully now back in F-Droid) | ||
|
||
For more information about what the last release had to offer: | ||
https://github.com/AkaneTan/Gramophone/releases/tag/1.0.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters