Fix sound effects

This commit is contained in:
Phillip Thelen 2018-11-08 15:50:06 +01:00
parent f00ae57b34
commit 2c050fbbce
2 changed files with 1 additions and 5 deletions

View file

@ -389,7 +389,7 @@ open class MainActivity : BaseActivity(), TutorialView.OnTutorialReaction {
val preferences = user?.preferences
preferences?.language.notNull { apiClient.setLanguageCode(it) }
preferences?.language.notNull { soundManager.soundTheme = it }
preferences?.sound.notNull { soundManager.soundTheme = it }
runOnUiThread {
updateSidebar()
if (activeFragment != null && activeFragment?.get() != null) {

View file

@ -83,10 +83,6 @@ class PartyFragment : BaseMainFragment() {
super.onDestroyView()
}
override fun onDestroy() {
super.onDestroy()
}
override fun injectFragment(component: AppComponent) {
component.inject(this)
}