mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
Move to dev85.
This commit is contained in:
@@ -6,7 +6,7 @@ buildscript {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath("org.jetbrains.compose:compose-gradle-plugin:0.1.0-build63")
|
||||
classpath("org.jetbrains.compose:compose-gradle-plugin:0.1.0-dev85")
|
||||
classpath("com.android.tools.build:gradle:4.0.1")
|
||||
classpath(kotlin("gradle-plugin", version = "1.4.0"))
|
||||
}
|
||||
|
||||
@@ -22,6 +22,7 @@ import androidx.compose.foundation.layout.*
|
||||
import androidx.compose.foundation.shape.RoundedCornerShape
|
||||
import androidx.compose.material.*
|
||||
import androidx.compose.runtime.*
|
||||
import androidx.compose.ui.Alignment
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.WithConstraints
|
||||
import androidx.compose.ui.graphics.Color
|
||||
@@ -105,7 +106,7 @@ fun SingleColumnLayout(currentIssue: MutableState<IssuesQuery.Node?>) {
|
||||
@Composable
|
||||
fun TwoColumnsLayout(currentIssue: MutableState<IssuesQuery.Node?>) {
|
||||
Row(Modifier.fillMaxSize()) {
|
||||
Box(modifier = Modifier.fillMaxWidth(0.4f)) {
|
||||
Box(modifier = Modifier.fillMaxWidth(0.4f), alignment = Alignment.Center) {
|
||||
IssuesList(currentIssue)
|
||||
}
|
||||
CurrentIssue(currentIssue.value)
|
||||
@@ -253,7 +254,7 @@ fun ListBody(
|
||||
for (iss in it.data.nodes) {
|
||||
Box(modifier = Modifier.clickable {
|
||||
currentIssue.value = iss
|
||||
}) {
|
||||
}, alignment = Alignment.CenterStart) {
|
||||
ListItem(iss)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
## This file must *NOT* be checked into Version Control Systems,
|
||||
# as it contains information specific to your local configuration.
|
||||
#
|
||||
# Location of the SDK. This is only used by Gradle.
|
||||
# For customization when using a Version Control System, please read the
|
||||
# header note.
|
||||
#Sat Aug 22 13:16:28 CEST 2020
|
||||
sdk.dir=/Users/prepor/repos/androidx/prebuilts/fullsdk-darwin
|
||||
@@ -6,7 +6,7 @@ buildscript {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath("org.jetbrains.compose:compose-gradle-plugin:0.1.0-build63")
|
||||
classpath("org.jetbrains.compose:compose-gradle-plugin:0.1.0-dev85")
|
||||
classpath("com.android.tools.build:gradle:4.0.1")
|
||||
classpath(kotlin("gradle-plugin", version = "1.4.0"))
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ import org.jetbrains.compose.compose
|
||||
|
||||
plugins {
|
||||
kotlin("jvm") version "1.4.0"
|
||||
id("org.jetbrains.compose") version (System.getenv("COMPOSE_TEMPLATE_COMPOSE_VERSION") ?: "0.1.0-build63")
|
||||
id("org.jetbrains.compose") version (System.getenv("COMPOSE_TEMPLATE_COMPOSE_VERSION") ?: "0.1.0-dev85")
|
||||
application
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
buildscript {
|
||||
val composeVersion = System.getenv("COMPOSE_TEMPLATE_COMPOSE_VERSION") ?: "0.1.0-build63"
|
||||
val composeVersion = System.getenv("COMPOSE_TEMPLATE_COMPOSE_VERSION") ?: "0.1.0-dev85"
|
||||
|
||||
repositories {
|
||||
google()
|
||||
|
||||
Reference in New Issue
Block a user