mirror of
https://github.com/block/buzz.git
synced 2026-10-27 12:40:30 +00:00
fix(mobile): replace pairing placeholder with Buzz icon (#1952)
Signed-off-by: Wes <wesbillman@users.noreply.github.com> Co-authored-by: Pinky <44b8e82baa6e0e254e0208d68f335c283c94e7b78dd1fa10d5a49d3f13dd0435@sprout-oss.stage.blox.sqprod.co>
This commit is contained in:
BIN
mobile/assets/images/buzz-icon.png
Normal file
BIN
mobile/assets/images/buzz-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
@@ -65,11 +65,7 @@ class PairingPage extends HookConsumerWidget {
|
||||
children: [
|
||||
const Spacer(flex: 2),
|
||||
|
||||
Icon(
|
||||
LucideIcons.hexagon,
|
||||
size: 64,
|
||||
color: context.colors.primary,
|
||||
),
|
||||
Image.asset('assets/images/buzz-icon.png', height: 64),
|
||||
const SizedBox(height: Grid.xs),
|
||||
Text(
|
||||
'Welcome to Buzz',
|
||||
|
||||
@@ -43,6 +43,8 @@ dev_dependencies:
|
||||
|
||||
flutter:
|
||||
uses-material-design: true
|
||||
assets:
|
||||
- assets/images/buzz-icon.png
|
||||
fonts:
|
||||
- family: Inter
|
||||
fonts:
|
||||
|
||||
@@ -15,6 +15,10 @@ void main() {
|
||||
WidgetHelpers.testable(child: const PairingPage()),
|
||||
);
|
||||
|
||||
expect(
|
||||
find.image(const AssetImage('assets/images/buzz-icon.png')),
|
||||
findsOneWidget,
|
||||
);
|
||||
expect(find.text('Welcome to Buzz'), findsOneWidget);
|
||||
expect(find.text('Scan QR Code'), findsOneWidget);
|
||||
expect(find.text('or paste pairing code'), findsOneWidget);
|
||||
|
||||
Reference in New Issue
Block a user