Small astetic fixes.

This commit is contained in:
MaticIvesic committed 2026-02-09 21:21:27 +01:00
1 parent c2ca8b59a3
commit 7467e0f1c7
2 files changed
+27 -10

No files matched your search

+15 -1
View File
@@ -5,8 +5,22 @@ class HelpScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
final theme = Theme.of(context).colorScheme;
return Scaffold(
appBar: AppBar(title: const Text('Help')),
appBar: AppBar(
backgroundColor: theme.surface,
title: Text("Help", style: TextStyle(color: theme.onSurface)),
leading: Builder(
builder: (context) {
return IconButton(
icon: Icon(Icons.arrow_back_ios_rounded, color: theme.onSurface),
onPressed: () {
Navigator.pop(context);
},
);
},
),
),
body: ListView(
padding: const EdgeInsets.all(16),
children: [
+12 -9
View File
@@ -95,15 +95,18 @@ class _HomeScreenState extends State<HomeScreen> {
),
),
),
body: ListView.builder(
itemCount: allCommands.length,
itemBuilder: (context, index) {
// You can keep this as 'context' or rename it
return ServerStatusTile(
command: allCommands[index],
onEdit: () => _editCommand(allCommands[index], index),
);
},
body: Padding(
padding: const EdgeInsets.symmetric(horizontal: 8.0),
child: ListView.builder(
itemCount: allCommands.length,
itemBuilder: (context, index) {
// You can keep this as 'context' or rename it
return ServerStatusTile(
command: allCommands[index],
onEdit: () => _editCommand(allCommands[index], index),
);
},
),
),
floatingActionButton: Builder(
builder: (context) {