* tweaks

* opt: semantics
This commit is contained in:
My-Responsitories
2026-06-13 02:43:37 +00:00
committed by dom
parent d159488495
commit 1b3f27aa31
23 changed files with 82 additions and 193 deletions

View File

@@ -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;