App Layout: Add usage measures

This commit is contained in:
Gil Eluard
2022-08-24 09:52:40 +02:00
committed by Stefan Ceriu
parent 8380282ee6
commit c007f84efd
17 changed files with 160 additions and 10 deletions

View File

@@ -58,7 +58,10 @@ import AnalyticsEvents
case spaceMembers
case spaceExploreRooms
case dialpad
case spaceBottomSheet
case invites
case createSpace
/// The screen name reported to the AnalyticsEvent.
var screenName: AnalyticsEvent.MobileScreen.ScreenName {
switch self {
@@ -142,6 +145,12 @@ import AnalyticsEvents
return .SpaceExploreRooms
case .dialpad:
return .Dialpad
case .spaceBottomSheet:
return .SpaceBottomSheet
case .invites:
return .Invites
case .createSpace:
return .CreateSpace
}
}
}