Rename fun

This commit is contained in:
Benoit Marty 2021-11-22 17:19:25 +01:00
parent e546587efb
commit e95d603dc5

View file

@ -90,7 +90,7 @@ class HomeDetailViewModel @AssistedInject constructor(
observeSyncState()
observeRoomGroupingMethod()
observeRoomSummaries()
updateShowDialPadTab()
updatePstnSupportFlag()
observeDataStore()
callManager.addProtocolsCheckerListener(this)
session.flow().liveUser(session.myUserId).execute {
@ -152,10 +152,10 @@ class HomeDetailViewModel @AssistedInject constructor(
}
override fun onPSTNSupportUpdated() {
updateShowDialPadTab()
updatePstnSupportFlag()
}
private fun updateShowDialPadTab() {
private fun updatePstnSupportFlag() {
setState {
copy(pstnSupportFlag = callManager.supportsPSTNProtocol)
}