feat: link underscore

pull/359/head
RuiAlonso 3 years ago
parent 2c7a21576d
commit 84dbb5da1d

@ -40,7 +40,6 @@ final _linkTextPaint = TextPaint(
color: PinballColors.orange, color: PinballColors.orange,
fontFamily: PinballFonts.pixeloidSans, fontFamily: PinballFonts.pixeloidSans,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
decorationThickness: 1,
), ),
); );
@ -194,6 +193,15 @@ class ShareLinkComponent extends TextComponent with HasGameRef, Tappable {
@override @override
Future<void> onLoad() async { Future<void> onLoad() async {
await super.onLoad(); await super.onLoad();
await add(
RectangleComponent(
size: Vector2(6.4, 0.2),
paint: Paint()..color = PinballColors.orange,
anchor: Anchor.center,
position: Vector2(3.2, 2.3),
),
);
text = readProvider<AppLocalizations>().share; text = readProvider<AppLocalizations>().share;
} }
} }
@ -223,6 +231,15 @@ class GoogleIOLinkComponent extends TextComponent with HasGameRef, Tappable {
@override @override
Future<void> onLoad() async { Future<void> onLoad() async {
await super.onLoad(); await super.onLoad();
await add(
RectangleComponent(
size: Vector2(10.2, 0.2),
paint: Paint()..color = PinballColors.orange,
anchor: Anchor.center,
position: Vector2(5.1, 2.3),
),
);
text = readProvider<AppLocalizations>().gotoIO; text = readProvider<AppLocalizations>().gotoIO;
} }
} }

Loading…
Cancel
Save