Move to dev85.

This commit is contained in:
Nikolay Igotti
2020-10-15 11:06:33 +03:00
parent 29352e6c63
commit 08ce747217
6 changed files with 7 additions and 14 deletions

View File

@@ -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"))
}

View File

@@ -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)
}
}

View File

@@ -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

View File

@@ -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"))
}

View File

@@ -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
}

View File

@@ -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()