Skip to content

Commit

Permalink
env: make sure platform name is lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
kar committed Feb 24, 2025
1 parent 5b3ccb7 commit c9e6f6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/lib/common/module/env/actor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ class EnvActor with Logging, Actor {
}

_getUserAgent(EnvInfo p) {
return "blokada/${p.appVersion} (${Core.act.platform.name}-${p.osVersion} ${p.buildFlavor} ${p.buildType} ${p.cpu}) ${p.deviceBrand} ${p.deviceModel})";
return "blokada/${p.appVersion} (${Core.act.platform.name.toLowerCase()}-${p.osVersion} ${p.buildFlavor} ${p.buildType} ${p.cpu}) ${p.deviceBrand} ${p.deviceModel})";
}
}

0 comments on commit c9e6f6c

Please sign in to comment.