Skip to content

Commit

Permalink
Add reqd params in preview function
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavkonidena committed Feb 18, 2024
1 parent da3b2a8 commit cbfe3f8
Showing 1 changed file with 20 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import androidx.compose.runtime.MutableState
import androidx.compose.runtime.collectAsState
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.runtime.rememberCoroutineScope
import androidx.compose.runtime.saveable.rememberSaveable
import androidx.compose.ui.Alignment
Expand Down Expand Up @@ -384,8 +385,25 @@ private fun Dialogs(
@Composable
fun ListensScreenPreview() {
ListensScreen(
scrollRequestState = false,
onScrollToTop = {},
snackbarState = SnackbarHostState(),
scrollRequestState = false,
updateNotificationServicePermissionStatus = {},
uiState = ListensUiState(),
feedUiState = FeedUiState(),
preferencesUiState = PreferencesUiState(),
validateUserToken = { true },
setToken = {},
playListen = {},
socialUiState = SocialUiState(),
onRecommend = {},
onErrorShown = {},
onMessageShown = {},
onPin = {_,_ ->},
searchUsers = {_ ->},
isCritiqueBrainzLinked = { true },
onReview = {_,_,_,_,_ ->},
onPersonallyRecommend = {_,_,_ ->},
dropdownItemIndex = remember { mutableStateOf(null) },
snackbarState = remember { SnackbarHostState() }
)
}

0 comments on commit cbfe3f8

Please sign in to comment.