@@ -11,33 +11,38 @@ class SelectVideoSourceDialog extends StatelessWidget {
1111 return Container (
1212 constraints: const BoxConstraints (minHeight: 200 ),
1313 width: double .infinity,
14- child: SingleChildScrollView (
15- child: Column (
16- children: [
17- ListTile (
18- title: Text (context.loc.gallery),
19- subtitle: Text (
20- context.loc.pickAVideoFromYourGallery,
14+ child: SafeArea (
15+ top: false ,
16+ left: false ,
17+ right: false ,
18+ child: SingleChildScrollView (
19+ child: Column (
20+ children: [
21+ ListTile (
22+ title: Text (context.loc.gallery),
23+ subtitle: Text (
24+ context.loc.pickAVideoFromYourGallery,
25+ ),
26+ leading: const Icon (Icons .photo_sharp),
27+ onTap: () => Navigator .of (context).pop (InsertVideoSource .gallery),
2128 ),
22- leading: const Icon (Icons .photo_sharp),
23- onTap: () => Navigator .of (context).pop (InsertVideoSource .gallery),
24- ),
25- ListTile (
26- title: Text (context.loc.camera),
27- subtitle: Text (context.loc.recordAVideoUsingYourCamera),
28- leading: const Icon (Icons .camera),
29- enabled: ! isDesktopApp,
30- onTap: () => Navigator .of (context).pop (InsertVideoSource .camera),
31- ),
32- ListTile (
33- title: Text (context.loc.link),
34- subtitle: Text (
35- context.loc.pasteAVideoUsingALink,
29+ ListTile (
30+ title: Text (context.loc.camera),
31+ subtitle: Text (context.loc.recordAVideoUsingYourCamera),
32+ leading: const Icon (Icons .camera),
33+ enabled: ! isDesktopApp,
34+ onTap: () => Navigator .of (context).pop (InsertVideoSource .camera),
3635 ),
37- leading: const Icon (Icons .link),
38- onTap: () => Navigator .of (context).pop (InsertVideoSource .link),
39- ),
40- ],
36+ ListTile (
37+ title: Text (context.loc.link),
38+ subtitle: Text (
39+ context.loc.pasteAVideoUsingALink,
40+ ),
41+ leading: const Icon (Icons .link),
42+ onTap: () => Navigator .of (context).pop (InsertVideoSource .link),
43+ ),
44+ ],
45+ ),
4146 ),
4247 ),
4348 );
0 commit comments