Skip to content

Commit 7eea924

Browse files
wesbillmanPinky
andauthored
fix(mobile): replace pairing placeholder with Buzz icon (#1952)
Signed-off-by: Wes <[email protected]> Co-authored-by: Pinky <44b8e82baa6e0e254e0208d68f335c283c94e7b78dd1fa10d5a49d3f13dd0435@sprout-oss.stage.blox.sqprod.co>
1 parent 2c08271 commit 7eea924

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

‎mobile/assets/images/buzz-icon.png‎

13.5 KB
Loading

‎mobile/lib/features/pairing/pairing_page.dart‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,7 @@ class PairingPage extends HookConsumerWidget {
6565
children: [
6666
const Spacer(flex: 2),
6767

68-
Icon(
69-
LucideIcons.hexagon,
70-
size: 64,
71-
color: context.colors.primary,
72-
),
68+
Image.asset('assets/images/buzz-icon.png', height: 64),
7369
const SizedBox(height: Grid.xs),
7470
Text(
7571
'Welcome to Buzz',

‎mobile/pubspec.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ dev_dependencies:
4343

4444
flutter:
4545
uses-material-design: true
46+
assets:
47+
- assets/images/buzz-icon.png
4648
fonts:
4749
- family: Inter
4850
fonts:

‎mobile/test/features/pairing/pairing_page_test.dart‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ void main() {
1515
WidgetHelpers.testable(child: const PairingPage()),
1616
);
1717

18+
expect(
19+
find.image(const AssetImage('assets/images/buzz-icon.png')),
20+
findsOneWidget,
21+
);
1822
expect(find.text('Welcome to Buzz'), findsOneWidget);
1923
expect(find.text('Scan QR Code'), findsOneWidget);
2024
expect(find.text('or paste pairing code'), findsOneWidget);

0 commit comments

Comments
 (0)