1
0
Fork 0

For #1242 - properly record metrics (#3437)

master
Jeff Boek 2019-06-13 09:57:56 -07:00 committed by Sawyer Blatz
parent 510b6f7373
commit 1212887e08
1 changed files with 5 additions and 5 deletions

View File

@ -93,14 +93,14 @@ private val Event.wrapper
{ ContextMenu.itemTappedKeys.valueOf(it) }
)
is Event.CrashReporterOpened -> EventWrapper<NoExtraKeys>(
{ CrashReporter.opened }
{ CrashReporter.opened.record(it) }
)
is Event.CrashReporterClosed -> EventWrapper(
{ CrashReporter.closed },
{ CrashReporter.closed.record(it) },
{ CrashReporter.closedKeys.valueOf(it) }
)
is Event.BrowserMenuItemTapped -> EventWrapper(
{ Events.browserMenuAction },
{ Events.browserMenuAction.record(it) },
{ Events.browserMenuActionKeys.valueOf(it) }
)
is Event.QuickActionSheetOpened -> EventWrapper<NoExtraKeys>(
@ -185,11 +185,11 @@ private val Event.wrapper
{ Library.closed.record(it) }
)
is Event.LibrarySelectedItem -> EventWrapper(
{ Library.selectedItem },
{ Library.selectedItem.record(it) },
{ Library.selectedItemKeys.valueOf(it) }
)
is Event.ErrorPageVisited -> EventWrapper(
{ ErrorPage.visitedError },
{ ErrorPage.visitedError.record(it) },
{ ErrorPage.visitedErrorKeys.valueOf(it) }
)
is Event.SyncAuthOpened -> EventWrapper<NoExtraKeys>(