mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-02 07:10:13 +08:00
@@ -429,9 +429,10 @@ class _CreateVotePageState extends State<CreateVotePage> {
|
||||
const Duration(milliseconds: 500),
|
||||
() async {
|
||||
try {
|
||||
XFile? pickedFile = await imagePicker.pickImage(
|
||||
final pickedFile = await imagePicker.pickImage(
|
||||
imageQuality: 100,
|
||||
source: ImageSource.gallery,
|
||||
requestFullMetadata: false,
|
||||
);
|
||||
if (pickedFile != null) {
|
||||
final path = pickedFile.path;
|
||||
|
||||
Reference in New Issue
Block a user