Skip to content

Commit a7ddf74

Browse files
Merge pull request #53 from codewithtamim/fix/cursor-dragging-state
Fix/cursor dragging state
2 parents 3b552ac + 9e07851 commit a7ddf74

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

app/src/main/java/com/nasahacker/convertit/ui/component/DialogEditMetadata.kt

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -330,47 +330,46 @@ fun DialogEditMetadata(
330330
onValueChange = { titleText = it },
331331
label = { Text(stringResource(R.string.label_title)) },
332332
modifier = Modifier.fillMaxWidth(),
333-
singleLine = true,
333+
334334
)
335335

336336
OutlinedTextField(
337337
value = artistText,
338338
onValueChange = { artistText = it },
339339
label = { Text(stringResource(R.string.label_artist)) },
340340
modifier = Modifier.fillMaxWidth(),
341-
singleLine = true,
342341
)
343342

344343
OutlinedTextField(
345344
value = albumText,
346345
onValueChange = { albumText = it },
347346
label = { Text(stringResource(R.string.label_album)) },
348347
modifier = Modifier.fillMaxWidth(),
349-
singleLine = true,
348+
350349
)
351350

352351
OutlinedTextField(
353352
value = albumArtistText,
354353
onValueChange = { albumArtistText = it },
355354
label = { Text(stringResource(R.string.label_album_artist)) },
356355
modifier = Modifier.fillMaxWidth(),
357-
singleLine = true,
356+
358357
)
359358

360359
OutlinedTextField(
361360
value = genreText,
362361
onValueChange = { genreText = it },
363362
label = { Text(stringResource(R.string.label_genre)) },
364363
modifier = Modifier.fillMaxWidth(),
365-
singleLine = true,
364+
366365
)
367366

368367
OutlinedTextField(
369368
value = yearText,
370369
onValueChange = { yearText = it },
371370
label = { Text(stringResource(R.string.label_year)) },
372371
modifier = Modifier.fillMaxWidth(),
373-
singleLine = true,
372+
374373
keyboardOptions = KeyboardOptions(keyboardType = KeyboardType.Number),
375374
)
376375

@@ -379,7 +378,7 @@ fun DialogEditMetadata(
379378
onValueChange = { trackText = it },
380379
label = { Text(stringResource(R.string.label_track_number)) },
381380
modifier = Modifier.fillMaxWidth(),
382-
singleLine = true,
381+
383382
keyboardOptions = KeyboardOptions(keyboardType = KeyboardType.Number),
384383
)
385384

0 commit comments

Comments
 (0)