Reduced status sumary font size + fixed typo
This commit is contained in:
parent
b6c4fa0ed7
commit
84d986587d
@ -510,13 +510,14 @@ fun SummaryEntry(
|
||||
Text(
|
||||
text = count.toString(),
|
||||
color = MaterialTheme.colors.primaryTextColor,
|
||||
fontSize = 14.sp,
|
||||
)
|
||||
|
||||
Icon(
|
||||
imageVector = icon,
|
||||
tint = color,
|
||||
contentDescription = null,
|
||||
modifier = Modifier.size(16.dp)
|
||||
modifier = Modifier.size(14.dp)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
@ -30,16 +30,16 @@ class LogViewModel @Inject constructor(
|
||||
|
||||
val currentBranch = branchesManager.currentBranchRef(git)
|
||||
|
||||
val statsSummary = statusManager.getStatusSummary(
|
||||
val statusSummary = statusManager.getStatusSummary(
|
||||
git = git,
|
||||
currentBranch = currentBranch,
|
||||
repositoryState = repositoryManager.getRepositoryState(git),
|
||||
)
|
||||
|
||||
val hasUncommitedChanges = statsSummary.addedCount + statsSummary.deletedCount + statsSummary.modifiedCount > 0
|
||||
val hasUncommitedChanges = statusSummary.addedCount + statusSummary.deletedCount + statusSummary.modifiedCount > 0
|
||||
val log = logManager.loadLog(git, currentBranch, hasUncommitedChanges)
|
||||
|
||||
_logStatus.value = LogStatus.Loaded(hasUncommitedChanges, log, currentBranch, statsSummary)
|
||||
_logStatus.value = LogStatus.Loaded(hasUncommitedChanges, log, currentBranch, statusSummary)
|
||||
}
|
||||
|
||||
fun checkoutCommit(revCommit: RevCommit) = tabState.safeProcessing(
|
||||
|
Loading…
Reference in New Issue
Block a user