chore: switch image_picker back to upstream
https://github.com/flutter/plugins/pull/3194 has finally been merged. Also update to non-deprecated pick* methods.
This commit is contained in:
parent
fcc67b0234
commit
875630278c
6 changed files with 12 additions and 17 deletions
|
|
@ -67,7 +67,7 @@ class SettingsController extends State<Settings> {
|
|||
}
|
||||
MatrixFile file;
|
||||
if (PlatformInfos.isMobile) {
|
||||
final result = await ImagePicker().getImage(
|
||||
final result = await ImagePicker().pickImage(
|
||||
source: ImageSource.gallery,
|
||||
imageQuality: 50,
|
||||
maxWidth: 1600,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue