fix bugs
This commit is contained in:
@@ -4,7 +4,7 @@ plugins {
|
||||
alias(libs.plugins.kotlin.compose)
|
||||
alias(libs.plugins.kotlin.serialization)
|
||||
alias(libs.plugins.hilt)
|
||||
id("org.jetbrains.kotlin.kapt")
|
||||
alias(libs.plugins.google.devtools.ksp)
|
||||
}
|
||||
|
||||
android {
|
||||
@@ -74,12 +74,12 @@ dependencies {
|
||||
// Hilt
|
||||
implementation(libs.hilt.android)
|
||||
implementation(libs.hilt.navigation.compose)
|
||||
kapt(libs.hilt.compiler)
|
||||
ksp(libs.hilt.android.compiler)
|
||||
|
||||
// Room
|
||||
implementation(libs.room.runtime)
|
||||
implementation(libs.room.ktx)
|
||||
kapt(libs.room.compiler)
|
||||
ksp(libs.room.compiler)
|
||||
|
||||
// Retrofit
|
||||
implementation(libs.retrofit)
|
||||
|
||||
@@ -3,6 +3,7 @@ package com.novayaplaneta.ui.screens.rewards
|
||||
import androidx.compose.foundation.layout.*
|
||||
import androidx.compose.foundation.lazy.LazyColumn
|
||||
import androidx.compose.foundation.lazy.items
|
||||
import androidx.compose.material.icons.filled.Star
|
||||
import androidx.compose.material3.*
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.collectAsState
|
||||
|
||||
@@ -62,7 +62,7 @@ fun TimerScreen(
|
||||
|
||||
val sweepAngle = 360f * progress
|
||||
drawArc(
|
||||
color = MaterialTheme.colorScheme.primary,
|
||||
color = Color.Red,
|
||||
startAngle = -90f,
|
||||
sweepAngle = sweepAngle,
|
||||
useCenter = false,
|
||||
|
||||
Reference in New Issue
Block a user