Skip to content

Commit

Permalink
remove deprecrated usage of accelerometerEvents
Browse files Browse the repository at this point in the history
  • Loading branch information
reidbaker committed Jun 27, 2024
1 parent dd3511d commit cfe6395
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class _CellState extends State<Cell> with WidgetsBindingObserver {
// Don't continuously rebuild for nothing when the
// cell isn't visible.
stream: appLifecycleState == AppLifecycleState.resumed
? accelerometerEvents
? accelerometerEventStream()
: Stream.value(defaultPosition),
initialData: defaultPosition,
builder: (context, snapshot) {
Expand Down

0 comments on commit cfe6395

Please sign in to comment.