6029: Refacto how to handle all state of the live location cell

This commit is contained in:
MaximeE
2022-04-22 18:04:19 +02:00
parent b1ad2419ad
commit 0633d01abe
24 changed files with 368 additions and 73 deletions
@@ -105,6 +105,14 @@ class DefaultTheme: NSObject, Theme {
var roomCellOutgoingBubbleBackgroundColor: UIColor = UIColor(rgb: 0xE7F8F3)
var roomCellLocalisationTextColor: UIColor = UIColor(rgb: 0x17191C)
var roomCellLocalisationStartedColor: UIColor = UIColor(rgb: 0x5C56F5)
var roomCellLocalisationEndedColor: UIColor = UIColor(rgb: 0xC1C6CD)
var roomCellLocalisationErrorColor: UIColor = UIColor(rgb: 0xFF5B55)
func applyStyle(onTabBar tabBar: UITabBar) {
tabBar.unselectedItemTintColor = self.tabBarUnselectedItemTintColor
tabBar.tintColor = self.tintColor