common: remove unused bits

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2021-06-04 09:00:02 +05:30
parent 7306cd3294
commit 7864652610
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
4 changed files with 0 additions and 30 deletions

View file

@ -1,5 +0,0 @@
package dev.msfjarvis.claw.common
actual fun getPlatformName(): String {
return "Android"
}

View file

@ -1,17 +0,0 @@
package dev.msfjarvis.claw.common
import androidx.compose.material.Button
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.runtime.setValue
@Composable
fun App() {
var text by remember { mutableStateOf("Hello, World!") }
MaterialTheme { Button(onClick = { text = "Hello, ${getPlatformName()}" }) { Text(text) } }
}

View file

@ -1,3 +0,0 @@
package dev.msfjarvis.claw.common
expect fun getPlatformName(): String

View file

@ -1,5 +0,0 @@
package dev.msfjarvis.claw.common
actual fun getPlatformName(): String {
return "Desktop"
}