Moved to compose 1.0.0-rc4

This commit is contained in:
Abdelilah El Aissaoui 2021-11-26 05:13:56 +01:00
parent 070e215395
commit 317947cee7
6 changed files with 15 additions and 4 deletions

View file

@ -8,7 +8,7 @@ plugins {
kotlin("kapt") version "1.5.31"
kotlin("plugin.serialization") version "1.5.31"
// __LATEST_COMPOSE_RELEASE_VERSION__
id("org.jetbrains.compose") version "1.0.0-rc3"
id("org.jetbrains.compose") version "1.0.0-rc4"
}
group = "aeab13.github"

View file

@ -1,3 +1,5 @@
@file:OptIn(ExperimentalComposeUiApi::class)
package app
import androidx.compose.foundation.background
@ -11,6 +13,7 @@ import androidx.compose.material.IconButton
import androidx.compose.material.MaterialTheme
import androidx.compose.runtime.*
import androidx.compose.ui.Alignment
import androidx.compose.ui.ExperimentalComposeUiApi
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.alpha
import androidx.compose.ui.graphics.Color

View file

@ -1,3 +1,5 @@
@file:OptIn(ExperimentalComposeUiApi::class)
package app.ui
import androidx.compose.foundation.Image
@ -7,6 +9,7 @@ import androidx.compose.material.Text
import androidx.compose.material.TextButton
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.ExperimentalComposeUiApi
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.ColorFilter
import androidx.compose.ui.graphics.painter.Painter

View file

@ -1,3 +1,5 @@
@file:OptIn(ExperimentalComposeUiApi::class)
package app.ui
import androidx.compose.foundation.*

View file

@ -1,3 +1,5 @@
@file:OptIn(ExperimentalComposeUiApi::class)
package app.ui
import androidx.compose.foundation.Image
@ -17,6 +19,7 @@ import openRepositoryDialog
import androidx.compose.foundation.lazy.items
import androidx.compose.ui.Alignment
import androidx.compose.ui.BiasAlignment
import androidx.compose.ui.ExperimentalComposeUiApi
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.sp
import app.extensions.dirName

View file

@ -1,3 +1,5 @@
@file:OptIn(ExperimentalComposeUiApi::class)
package app.ui.components
import androidx.compose.foundation.clickable
@ -7,15 +9,13 @@ import androidx.compose.material.MaterialTheme
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.ExperimentalComposeUiApi
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.text.style.TextOverflow
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import app.extensions.simpleName
import app.theme.primaryTextColor
import app.theme.secondaryTextColor
@Composable
fun SideMenuSubentry(