mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-19 12:18:59 +00:00
Fix loading sound files
This commit is contained in:
parent
91f4059ab6
commit
b5e6eccf7c
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ class SoundFile(val theme: String, private val fileName: String) : MediaPlayer.O
|
|||
private var isPlaying: Boolean = false
|
||||
|
||||
val webUrl: String
|
||||
get() = "https://habitica.com/assets/audio/$theme/$fileName.mp3"
|
||||
get() = "https://s3.amazonaws.com/habitica-assets/mobileApp/sounds/$theme/$fileName.mp3"
|
||||
|
||||
val filePath: String
|
||||
get() = theme + "_" + fileName + ".mp3"
|
||||
|
|
|
|||
Loading…
Reference in a new issue