1

Hey, I have a function that draws a composable,

@Composable
        fun home() : @Composable RowScope.() -> Unit {
            return {
                BottomNavigationItem(
                    icon = {
                        Icon(Icons.Filled.Home, "Home")
                    },
                    onClick = {},
                    selected = false,
                    label = {
                        Text("Home")
                    }
                )
            }
        }

That doesn't draw it to the GUI I am calling it with

@Composable
fun App() {
    MaterialTheme {
        BottomAppBar {
            StaticAssets.BarButtons.home()
        }
    }
}

Does anyone know why it doesn't work?

15
Twilio Alternatives (programming.dev)
submitted 1 year ago* (last edited 1 year ago) by spi@programming.dev to c/programming@programming.dev

I'm trying to stop using my phone number for registering stuff and was wondering what alternatives would be suitable for forwarding messages and calls since I know about Twilio but it seems to be really bad.

2
rooting galaxy s22 (programming.dev)
submitted 1 year ago by spi@programming.dev to c/android@lemmy.world

Yo I have a verizon US edition galaxy s22 does anyone know how to root it since I believe the bootloader is encrypted

[-] spi@programming.dev 0 points 1 year ago

Problem, I am currently living in the US

0

I'm trying to start out self-hosting and was looking for some good servers. I have a budget of ~100 USD and am in the US. I was initially going to get some type of raspberry pi but they seem to always be sold out here

spi

joined 1 year ago