Update app name in all files

This commit is contained in:
Nishant Mishra
2025-07-01 20:00:26 +05:30
parent 9d087ce0d2
commit 2157ce49a9
6 changed files with 11 additions and 10 deletions

View File

@@ -6,7 +6,7 @@ import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge
import androidx.activity.viewModels
import org.nsh07.pomodoro.ui.AppScreen
import org.nsh07.pomodoro.ui.theme.PomodoroTheme
import org.nsh07.pomodoro.ui.theme.TomatoTheme
import org.nsh07.pomodoro.ui.viewModel.UiViewModel
class MainActivity : ComponentActivity() {
@@ -16,7 +16,7 @@ class MainActivity : ComponentActivity() {
super.onCreate(savedInstanceState)
enableEdgeToEdge()
setContent {
PomodoroTheme {
TomatoTheme {
AppScreen(viewModel)
}
}

View File

@@ -1,6 +1,5 @@
package org.nsh07.pomodoro.ui.theme
import android.app.Activity
import android.os.Build
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material3.MaterialTheme
@@ -34,7 +33,7 @@ private val LightColorScheme = lightColorScheme(
)
@Composable
fun PomodoroTheme(
fun TomatoTheme(
darkTheme: Boolean = isSystemInDarkTheme(),
// Dynamic color is available on Android 12+
dynamicColor: Boolean = true,

View File

@@ -54,6 +54,7 @@ import androidx.compose.ui.unit.sp
import org.nsh07.pomodoro.R
import org.nsh07.pomodoro.ui.theme.AppFonts.interDisplayBlack
import org.nsh07.pomodoro.ui.theme.AppFonts.openRundeClock
import org.nsh07.pomodoro.ui.theme.TomatoTheme
import org.nsh07.pomodoro.ui.viewModel.TimerMode
import org.nsh07.pomodoro.ui.viewModel.UiState
@@ -196,7 +197,6 @@ fun TimerScreen(
cap = StrokeCap.Round,
),
wavelength = 60.dp,
// strokeWidth = 16.dp,
gapSize = 16.dp
)
}
@@ -308,5 +308,7 @@ fun TimerScreenPreview() {
val uiState = UiState(
timeStr = "03:34", nextTimeStr = "5:00", timerMode = TimerMode.SHORT_BREAK
)
TimerScreen(uiState, { 0.3f }, {}, {})
TomatoTheme {
TimerScreen(uiState, { 0.3f }, {}, {})
}
}