diff --git a/app/src/main/kotlin/com/tutpro/baresip/MainActivity.kt b/app/src/main/kotlin/com/tutpro/baresip/MainActivity.kt index c199d18e..2de79e56 100644 --- a/app/src/main/kotlin/com/tutpro/baresip/MainActivity.kt +++ b/app/src/main/kotlin/com/tutpro/baresip/MainActivity.kt @@ -309,7 +309,7 @@ class MainActivity : AppCompatActivity() { val speakerIcon = findViewById(R.id.speakerIcon) as ActionMenuItemView if (am.isSpeakerphoneOn) // speakerIcon.setIcon(ContextCompat.getDrawable(this, R.drawable.speaker_on)) - speakerIcon.setBackgroundColor(Color.rgb(0x04,0xb4, 0x04)) + speakerIcon.setBackgroundColor(Color.rgb(0x04, 0xb4, 0x04)) else // speakerIcon.setBackgroundColor(resources.getColor(R.color.colorPrimary, applicationContext.theme)) speakerIcon.setBackgroundColor(resources.getColor(R.color.colorPrimary))