Fix loading sound files

This commit is contained in:
Phillip Thelen 2018-07-05 13:28:55 +02:00
parent 91f4059ab6
commit b5e6eccf7c

View file

@ -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"