@@ -340,7 +340,7 @@ fun DialogEditMetadata(
340
340
onValueChange = { titleText = it },
341
341
label = { Text (stringResource(R .string.label_title)) },
342
342
modifier = Modifier .fillMaxWidth(),
343
- singleLine = true ,
343
+
344
344
)
345
345
346
346
OutlinedTextField (
@@ -355,31 +355,31 @@ fun DialogEditMetadata(
355
355
onValueChange = { albumText = it },
356
356
label = { Text (stringResource(R .string.label_album)) },
357
357
modifier = Modifier .fillMaxWidth(),
358
- singleLine = true ,
358
+
359
359
)
360
360
361
361
OutlinedTextField (
362
362
value = albumArtistText,
363
363
onValueChange = { albumArtistText = it },
364
364
label = { Text (stringResource(R .string.label_album_artist)) },
365
365
modifier = Modifier .fillMaxWidth(),
366
- singleLine = true ,
366
+
367
367
)
368
368
369
369
OutlinedTextField (
370
370
value = genreText,
371
371
onValueChange = { genreText = it },
372
372
label = { Text (stringResource(R .string.label_genre)) },
373
373
modifier = Modifier .fillMaxWidth(),
374
- singleLine = true ,
374
+
375
375
)
376
376
377
377
OutlinedTextField (
378
378
value = yearText,
379
379
onValueChange = { yearText = it },
380
380
label = { Text (stringResource(R .string.label_year)) },
381
381
modifier = Modifier .fillMaxWidth(),
382
- singleLine = true ,
382
+
383
383
keyboardOptions = KeyboardOptions (keyboardType = KeyboardType .Number ),
384
384
)
385
385
@@ -388,7 +388,7 @@ fun DialogEditMetadata(
388
388
onValueChange = { trackText = it },
389
389
label = { Text (stringResource(R .string.label_track_number)) },
390
390
modifier = Modifier .fillMaxWidth(),
391
- singleLine = true ,
391
+
392
392
keyboardOptions = KeyboardOptions (keyboardType = KeyboardType .Number ),
393
393
)
394
394
0 commit comments