Removed the size limit when picking an image

This commit is contained in:
Mariano Uvalle 2019-04-28 18:43:28 -05:00
parent e05f5bc093
commit 735a99c9b0
2 changed files with 2 additions and 3 deletions

View file

@ -304,7 +304,7 @@
); );
inputPaths = ( inputPaths = (
"${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh", "${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
"${PODS_ROOT}/../.symlinks/flutter/ios/Flutter.framework", "${PODS_ROOT}/../.symlinks/flutter/ios-release/Flutter.framework",
); );
name = "[CP] Embed Pods Frameworks"; name = "[CP] Embed Pods Frameworks";
outputFileListPaths = ( outputFileListPaths = (

View file

@ -158,14 +158,13 @@ class _NewImageScreenState extends State<NewImageScreen> {
Navigator.of(context).pop(); Navigator.of(context).pop();
} }
// TODO: Pro users can save their pictures in full res. // TODO: Add size limit for free users.
/// Prompts the user to take a picture. /// Prompts the user to take a picture.
/// ///
/// Updates the file in the bloc. /// Updates the file in the bloc.
Future<void> takePicture() async { Future<void> takePicture() async {
final File imgFile = await ImagePicker.pickImage( final File imgFile = await ImagePicker.pickImage(
source: ImageSource.camera, source: ImageSource.camera,
maxWidth: 1500,
); );
bloc.changePicture(imgFile); bloc.changePicture(imgFile);
} }