Removed the size limit when picking an image
This commit is contained in:
parent
e05f5bc093
commit
735a99c9b0
2 changed files with 2 additions and 3 deletions
|
|
@ -304,7 +304,7 @@
|
|||
);
|
||||
inputPaths = (
|
||||
"${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";
|
||||
outputFileListPaths = (
|
||||
|
|
|
|||
|
|
@ -158,14 +158,13 @@ class _NewImageScreenState extends State<NewImageScreen> {
|
|||
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.
|
||||
///
|
||||
/// Updates the file in the bloc.
|
||||
Future<void> takePicture() async {
|
||||
final File imgFile = await ImagePicker.pickImage(
|
||||
source: ImageSource.camera,
|
||||
maxWidth: 1500,
|
||||
);
|
||||
bloc.changePicture(imgFile);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue