mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 19:28:40 +00:00
bump version
This commit is contained in:
parent
a2b59a7dd3
commit
65821aa2c8
2 changed files with 2 additions and 12 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
import 'dart:io';
|
|
||||||
import 'package:camera/camera.dart';
|
import 'package:camera/camera.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:screenshot/screenshot.dart';
|
import 'package:screenshot/screenshot.dart';
|
||||||
|
|
@ -63,9 +62,6 @@ class _SendToCameraPreviewState extends State<SendToCameraPreview> {
|
||||||
!CameraSendToViewState.cameraController!.value.isInitialized) {
|
!CameraSendToViewState.cameraController!.value.isInitialized) {
|
||||||
return Container();
|
return Container();
|
||||||
}
|
}
|
||||||
bool isFront =
|
|
||||||
CameraSendToViewState.cameraController?.description.lensDirection ==
|
|
||||||
CameraLensDirection.front;
|
|
||||||
return Positioned.fill(
|
return Positioned.fill(
|
||||||
child: MediaViewSizing(
|
child: MediaViewSizing(
|
||||||
child: Screenshot(
|
child: Screenshot(
|
||||||
|
|
@ -80,13 +76,7 @@ class _SendToCameraPreviewState extends State<SendToCameraPreview> {
|
||||||
.cameraController!.value.previewSize!.height,
|
.cameraController!.value.previewSize!.height,
|
||||||
height: CameraSendToViewState
|
height: CameraSendToViewState
|
||||||
.cameraController!.value.previewSize!.width,
|
.cameraController!.value.previewSize!.width,
|
||||||
child: Transform(
|
child: CameraPreview(CameraSendToViewState.cameraController!),
|
||||||
alignment: Alignment.center,
|
|
||||||
transform: Matrix4.rotationY(
|
|
||||||
(isFront && Platform.isAndroid) ? 3.14 : 0),
|
|
||||||
child:
|
|
||||||
CameraPreview(CameraSendToViewState.cameraController!),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ description: "twonly, a privacy-friendly way to connect with friends through sec
|
||||||
# Prevent accidental publishing to pub.dev.
|
# Prevent accidental publishing to pub.dev.
|
||||||
publish_to: 'none'
|
publish_to: 'none'
|
||||||
|
|
||||||
version: 0.0.53+53
|
version: 0.0.54+54
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.6.0
|
sdk: ^3.6.0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue