package com.aiosman.ravenow.ui.points

import androidx.compose.runtime.Composable
import androidx.compose.runtime.collectAsState

@Composable
fun PointsBottomSheetHost() {
    val show = PointsSheetManager.visible.collectAsState(false).value
    if (show) {
        PointsBottomSheet(
            onClose = { PointsSheetManager.close() },
            onRecharge = { PointsSheetManager.onRecharge?.invoke() }
        )
    }
}


