Skip to content

Commit

Permalink
TW-1644: update style for image picker
Browse files Browse the repository at this point in the history
  • Loading branch information
sherlockvn committed Jun 11, 2024
1 parent 1876f1a commit 8de5250
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/presentation/mixins/single_image_picker_mixin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ mixin SingleImagePickerMixin on CommonMediaPickerMixin {
context: context,
controller: imagePickerController,
backgroundImageCamera: const AssetImage("assets/verification.png"),
initialChildSize: 0.6,
initialChildSize: MediaPickerStyle.initialChildSize,
permissionStatus: permissionStatusPhotos,
assetBackgroundColor: LinagoraSysColors.material().background,
expandedWidget: const SizedBox(height: 50),
expandedWidget:
const SizedBox(height: MediaPickerStyle.expandedWidgetHeight),
counterImageBuilder: (_) => const SizedBox.shrink(),
goToSettingsWidget: Column(
mainAxisAlignment: MainAxisAlignment.center,
Expand Down
2 changes: 2 additions & 0 deletions lib/presentation/style/media_picker_style.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,6 @@ class MediaPickerStyle {
static double photoPermissionFontSize = 16;

static FontWeight photoPermissionFontWeight = FontWeight.w600;

static const double expandedWidgetHeight = 50;
}

0 comments on commit 8de5250

Please sign in to comment.