mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 14:48:41 +00:00
add missing key and fix height
This commit is contained in:
parent
c3e92ac7d1
commit
66fb320355
6 changed files with 8 additions and 5 deletions
|
|
@ -20,7 +20,7 @@ class HomeViewCameraPreview extends StatelessWidget {
|
|||
}
|
||||
return Positioned.fill(
|
||||
child: MediaViewSizing(
|
||||
requiredHeight: 90,
|
||||
requiredHeight: 80,
|
||||
bottomNavigation: Container(),
|
||||
child: Screenshot(
|
||||
controller: screenshotController,
|
||||
|
|
@ -60,7 +60,7 @@ class SendToCameraPreview extends StatelessWidget {
|
|||
}
|
||||
return Positioned.fill(
|
||||
child: MediaViewSizing(
|
||||
requiredHeight: 90,
|
||||
requiredHeight: 80,
|
||||
bottomNavigation: Container(),
|
||||
child: Screenshot(
|
||||
controller: screenshotController,
|
||||
|
|
|
|||
|
|
@ -598,7 +598,7 @@ class _CameraPreviewViewState extends State<CameraPreviewView> {
|
|||
return Container();
|
||||
}
|
||||
return MediaViewSizing(
|
||||
requiredHeight: 90,
|
||||
requiredHeight: 80,
|
||||
bottomNavigation: Container(),
|
||||
child: GestureDetector(
|
||||
onPanStart: (details) async {
|
||||
|
|
|
|||
|
|
@ -74,6 +74,7 @@ class BestFriendsSelector extends StatelessWidget {
|
|||
children: [
|
||||
Expanded(
|
||||
child: UserCheckbox(
|
||||
key: ValueKey(groups[firstUserIndex]),
|
||||
isChecked: selectedGroupIds
|
||||
.contains(groups[firstUserIndex].groupId),
|
||||
group: groups[firstUserIndex],
|
||||
|
|
@ -83,6 +84,7 @@ class BestFriendsSelector extends StatelessWidget {
|
|||
if (secondUserIndex < groups.length)
|
||||
Expanded(
|
||||
child: UserCheckbox(
|
||||
key: ValueKey(groups[secondUserIndex]),
|
||||
isChecked: selectedGroupIds
|
||||
.contains(groups[secondUserIndex].groupId),
|
||||
group: groups[secondUserIndex],
|
||||
|
|
|
|||
|
|
@ -524,7 +524,7 @@ class _ShareImageEditorView extends State<ShareImageEditorView> {
|
|||
setState(() {});
|
||||
},
|
||||
child: MediaViewSizing(
|
||||
requiredHeight: 90,
|
||||
requiredHeight: 80,
|
||||
bottomNavigation: ColoredBox(
|
||||
color: Theme.of(context).colorScheme.surface,
|
||||
child: Row(
|
||||
|
|
|
|||
|
|
@ -513,7 +513,7 @@ class _MediaViewerViewState extends State<MediaViewerView> {
|
|||
},
|
||||
child: MediaViewSizing(
|
||||
bottomNavigation: bottomNavigation(),
|
||||
requiredHeight: 90,
|
||||
requiredHeight: 80,
|
||||
child: Stack(
|
||||
children: [
|
||||
if (videoController != null)
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ class _AvatarIconState extends State<AvatarIcon> {
|
|||
super.dispose();
|
||||
}
|
||||
|
||||
// ignore: strict_top_level_inference
|
||||
Widget errorBuilder(_, __, ___) {
|
||||
return const SvgPicture(
|
||||
AssetBytesLoader('assets/images/default_avatar.svg.vec'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue