Skip to content

Commit

Permalink
disable some analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
Codel1417 committed Nov 10, 2024
1 parent 25df42d commit 00d9dd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Backend/move_lists.dart
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,10 @@ Future<void> runAction(BaseAction action, BaseStatefulDevice device) async {
}
} else if (action is CommandAction) {
device.commandQueue.addCommand(BluetoothMessage(message: action.command, device: device, priority: Priority.normal, responseMSG: action.response, type: CommandType.move, timestamp: DateTime.now()));
plausible.event(name: "Run Action", props: {"Action Name": action.name, "Action Type": action.actionCategory.name});
//plausible.event(name: "Run Action", props: {"Action Name": action.name, "Action Type": action.actionCategory.name});
} else if (action is MoveList) {
sequencesLogger.info("Starting MoveList ${action.name}.");
plausible.event(name: "Run Sequence", props: {"Sequence Repeat": action.repeat.toInt().toString(), "Sequence Device Type": device.baseDeviceDefinition.deviceType.name, "Sequence Moves": action.moves.length.toString()});
//plausible.event(name: "Run Sequence", props: {"Sequence Repeat": action.repeat.toInt().toString(), "Sequence Device Type": device.baseDeviceDefinition.deviceType.name, "Sequence Moves": action.moves.length.toString()});
if (action.moves.isNotEmpty && action.moves.length <= 5 && device.baseDeviceDefinition.deviceType != DeviceType.ears) {
int preset = 1; //TODO: store
String cmd = "USERMOVE U${preset}P${action.moves.length}N${action.repeat.toInt()}";
Expand Down

0 comments on commit 00d9dd6

Please sign in to comment.