fix: show stopped services in list + loading bar on action
- API: --all flag in systemctl list-units to show inactive services - API: removed head -50 limit - Android: LinearProgressIndicator while service action is running
This commit is contained in:
@@ -372,6 +372,13 @@ private fun ServicesTab(state: ServerDetailUiState, viewModel: ServerDetailViewM
|
||||
)
|
||||
Spacer(modifier = Modifier.height(8.dp))
|
||||
|
||||
if (state.serviceActionRunning != null) {
|
||||
LinearProgressIndicator(
|
||||
modifier = Modifier.fillMaxWidth().padding(bottom = 8.dp),
|
||||
color = MaterialTheme.colorScheme.primary
|
||||
)
|
||||
}
|
||||
|
||||
if (state.serviceActionResult != null) {
|
||||
Card(
|
||||
colors = CardDefaults.cardColors(
|
||||
|
||||
Reference in New Issue
Block a user