+19
-15
lib/screens/create_gallery_page.dart
+19
-15
lib/screens/create_gallery_page.dart
···
244
244
hintText: 'Enter a description',
245
245
),
246
246
const SizedBox(height: 16),
247
-
Row(
248
-
children: [
249
-
Expanded(
250
-
child: Text('Include image metadata (EXIF)', style: theme.textTheme.bodyMedium),
251
-
),
252
-
Switch(
253
-
value: _includeExif,
254
-
onChanged: (val) {
255
-
setState(() {
256
-
_includeExif = val;
257
-
});
258
-
},
259
-
),
260
-
],
261
-
),
247
+
if (widget.gallery == null)
248
+
Row(
249
+
children: [
250
+
Expanded(
251
+
child: Text(
252
+
'Include image metadata (EXIF)',
253
+
style: theme.textTheme.bodyMedium,
254
+
),
255
+
),
256
+
Switch(
257
+
value: _includeExif,
258
+
onChanged: (val) {
259
+
setState(() {
260
+
_includeExif = val;
261
+
});
262
+
},
263
+
),
264
+
],
265
+
),
262
266
const SizedBox(height: 16),
263
267
if (widget.gallery == null)
264
268
Row(