Thanks Ian, it’s good to be reminded to RTFM from ...
# compose-android
m
Thanks Ian, it’s good to be reminded to RTFM from time-to-time! I didn’t see any examples of how to use
Modifier.pullToRefreshIndicator
so I just passed a non-default indicator instead (to achieve the desired color) and it worked:
Copy code
indicator = {
    Indicator(
        modifier = Modifier.align(Alignment.TopCenter),
        isRefreshing = screenModel.isRefreshing,
        state = pullToRefreshState,
        containerColor = MaterialTheme.colorScheme.tertiary,
        color = MaterialTheme.colorScheme.onTertiary,
    )
},
The default container color of the indicator was grey for my theme. Does that indicate (no pun intended) that I have not properly set up my theme?