Skip to content

Commit

Permalink
chore: do not track in dev mode again
Browse files Browse the repository at this point in the history
  • Loading branch information
Yesterday17 committed Sep 19, 2024
1 parent a0dee30 commit dda66f4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/services/playback/playback_playing.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@ class PlayingTrack extends ChangeNotifier {
duration != Duration.zero &&
position.inSeconds >= (duration.inSeconds / 3)) {
reported = true;
ref.read(annivProvider).trackPlayback(
source!.identifier, DateTime.now().millisecondsSinceEpoch ~/ 1000);
if (!kDebugMode) {
ref.read(annivProvider).trackPlayback(
source!.identifier, DateTime.now().millisecondsSinceEpoch ~/ 1000);
}
}
}

Expand Down

0 comments on commit dda66f4

Please sign in to comment.