Skip to content

Commit

Permalink
✏️ :: 음악 신청 url 의미 명확하게 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyeonseo4799 committed Sep 18, 2023
1 parent 31ebeea commit 4764102
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ fun MusicScreen(
) {
var showDialog by remember { mutableStateOf(false) }
var currentBottomSheetType by remember { mutableStateOf(BottomSheetType.Option) }
var musicUrl by remember { mutableStateOf("") }
var requestUrl by remember { mutableStateOf("") }
var youtubeUrl by remember { mutableStateOf("") }
var musicId by remember { mutableStateOf<Long>(-1) }
var selectedDay by remember { mutableStateOf(LocalDate.now()) }
Expand All @@ -84,12 +84,12 @@ fun MusicScreen(
if (showDialog) {
DotoriDialog(onDismiss = { showDialog = false }) {
MusicDialogContent(
url = musicUrl,
onValueChange = { musicUrl = it }
url = requestUrl,
onValueChange = { requestUrl = it }
) {
musicViewModel.requestMusic(
role = "",
body = MusicRequestModel(url = musicUrl)
body = MusicRequestModel(url = requestUrl)
)
}
}
Expand Down

0 comments on commit 4764102

Please sign in to comment.