@ -105,7 +105,7 @@ class Backbox extends PositionComponent with ZIndex, HasGameRef {
ShareDisplay(
onShare: (platform) {
final message = readProvider<AppLocalizations>()
.iGotScoreAtPinball(state.score);
.iGotScoreAtPinball(state.score.formatScore());
final url = _shareRepository.shareText(
value: message,
platform: platform,
@ -218,7 +218,7 @@
"description": "Text to share score on Social Network",
"placeholders": {
"score": {
"type": "int"
"type": "String"
}
@ -171,7 +171,7 @@ class _MockAppLocalizations extends Mock implements AppLocalizations {
String get leaderboardErrorMessage => '';
@override
String iGotScoreAtPinball(int _) => '';
String iGotScoreAtPinball(String _) => '';
void main() {