mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-15 13:50:14 +08:00
@@ -465,9 +465,10 @@ class _EditProfilePageState extends State<EditProfilePage> {
|
||||
|
||||
Future<void> _pickImg(ThemeData theme) async {
|
||||
try {
|
||||
XFile? pickedFile = await _imagePicker.pickImage(
|
||||
final pickedFile = await _imagePicker.pickImage(
|
||||
source: .gallery,
|
||||
imageQuality: 100,
|
||||
requestFullMetadata: false,
|
||||
);
|
||||
if (pickedFile != null && mounted) {
|
||||
String? imagePath = pickedFile.path;
|
||||
|
||||
Reference in New Issue
Block a user