Skip to content

Commit 96ed692

Browse files
committed
fix(devices): fixed the specs and goldens for pixel 5
1 parent 763ac2c commit 96ed692

File tree

8 files changed

+4
-4
lines changed

8 files changed

+4
-4
lines changed

assets/keyboards/pixel_5.png

-74.1 KB
Loading
-6.8 KB
Loading
-66.7 KB
Loading
-6.8 KB
Loading
-6.8 KB
Loading
-6.8 KB
Loading
-66.7 KB
Loading

lib/src/adaptive/devices_data.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ final WindowConfigData iPhone16 = WindowConfigData(
6666
/// [WindowConfigData] for a Google Pixel 5.
6767
final WindowConfigData pixel5 = WindowConfigData(
6868
_Device.pixel_5.name,
69-
size: const Size(360, 764),
70-
pixelDensity: 3,
71-
safeAreaPadding: const EdgeInsets.only(top: 24),
72-
keyboardSize: const Size(360, 297),
69+
size: const Size(392, 850),
70+
pixelDensity: 2.75,
71+
safeAreaPadding: const EdgeInsets.only(top: 49, bottom: 24),
72+
keyboardSize: const Size(392, 302),
7373
borderRadius: const BorderRadius.all(
7474
Radius.circular(32),
7575
),

0 commit comments

Comments
 (0)