Skip to content

Commit

Permalink
fix(devices): fixed the specs and goldens for pixel 5
Browse files Browse the repository at this point in the history
  • Loading branch information
mdyatlov committed Oct 8, 2024
1 parent 763ac2c commit 96ed692
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 4 deletions.
Binary file modified assets/keyboards/pixel_5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/simple_app/test/src/preview/custom_path_pixel_5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/simple_app/test/src/preview/pixel_5-app_simple.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions lib/src/adaptive/devices_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ final WindowConfigData iPhone16 = WindowConfigData(
/// [WindowConfigData] for a Google Pixel 5.
final WindowConfigData pixel5 = WindowConfigData(
_Device.pixel_5.name,
size: const Size(360, 764),
pixelDensity: 3,
safeAreaPadding: const EdgeInsets.only(top: 24),
keyboardSize: const Size(360, 297),
size: const Size(392, 850),
pixelDensity: 2.75,
safeAreaPadding: const EdgeInsets.only(top: 49, bottom: 24),
keyboardSize: const Size(392, 302),
borderRadius: const BorderRadius.all(
Radius.circular(32),
),
Expand Down

0 comments on commit 96ed692

Please sign in to comment.