Remove unnecessary logs

This commit is contained in:
Abdelilah El Aissaoui 2022-06-09 03:13:15 +02:00
parent e32498d0c7
commit 8810150429
4 changed files with 2 additions and 11 deletions

View File

@ -119,13 +119,8 @@ class App {
) { ) {
val tabs by tabsFlow.collectAsState() val tabs by tabsFlow.collectAsState()
val tabsInformationList = tabs.sortedBy { it.key } val tabsInformationList = tabs.sortedBy { it.key }
println("Tabs count ${tabs.count()}")
val selectedTabKey = remember { mutableStateOf(0) } val selectedTabKey = remember { mutableStateOf(0) }
println("Selected tab key: ${selectedTabKey.value}")
Column( Column(
modifier = Modifier.background(MaterialTheme.colors.background) modifier = Modifier.background(MaterialTheme.colors.background)
) { ) {

View File

@ -52,8 +52,6 @@ class FileChangesWatcher @Inject constructor() {
while (watchService.take().also { key = it } != null) { while (watchService.take().also { key = it } != null) {
val events = key.pollEvents() val events = key.pollEvents()
println("Polled events on dir ${keys[key]}")
val dir = keys[key] ?: return@withContext val dir = keys[key] ?: return@withContext
val hasGitDirectoryChanged = dir.startsWith("$pathStr$systemSeparator.git$systemSeparator") val hasGitDirectoryChanged = dir.startsWith("$pathStr$systemSeparator.git$systemSeparator")

View File

@ -952,7 +952,7 @@ fun UncommitedChangesGraphNode(
isSelected: Boolean, isSelected: Boolean,
) { ) {
val density = LocalDensity.current.density val density = LocalDensity.current.density
println("Density is $density")
val laneWidthWithDensity = remember(density) { val laneWidthWithDensity = remember(density) {
LANE_WIDTH * density LANE_WIDTH * density
} }

View File

@ -40,8 +40,6 @@ class StatusViewModel @Inject constructor(
) { git -> ) { git ->
val messageToPersist = savedCommitMessage.message.ifBlank { null } val messageToPersist = savedCommitMessage.message.ifBlank { null }
println("Persisting message: $messageToPersist")
if (git.repository.repositoryState.isMerging) { if (git.repository.repositoryState.isMerging) {
git.repository.writeMergeCommitMsg(messageToPersist) git.repository.writeMergeCommitMsg(messageToPersist)
} else if (git.repository.repositoryState == RepositoryState.SAFE) { } else if (git.repository.repositoryState == RepositoryState.SAFE) {