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