Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
marandaneto committed Nov 16, 2022
1 parent 990e85a commit 640ade3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flutter/lib/src/sentry_user_interaction_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class _SentryUserInteractionWidgetState
}

String _findDescriptionOf(Element element, bool allowText) {
var description = 'unknown';
var description = '';

// traverse tree to find a suiting element
void descriptionFinder(Element element) {
Expand Down Expand Up @@ -191,9 +191,9 @@ class _SentryUserInteractionWidgetState
}

TappedWidget? _getElementAt(Offset position) {
// WidgetsBinding.instance.renderViewElement does not work, using
// WidgetsBinding.instance.renderViewElement does not work, so using
// the element from createElement
var rootElement = _clickTrackerElement;
final rootElement = _clickTrackerElement;
if (rootElement == null || rootElement.widget != widget) {
return null;
}
Expand Down

0 comments on commit 640ade3

Please sign in to comment.