Refactor logger and minor code polish

This commit is contained in:
2025-03-16 00:54:27 +01:00
parent 4a92ba7340
commit 5f8ce8f7a1
3 changed files with 77 additions and 76 deletions

View File

@@ -395,7 +395,7 @@ class _ModManagerPageState extends State<ModManagerPage> {
child: Icon(
Icons.home,
color: Colors.blue,
size: 16,
size: 24,
),
),
if (mod.isExpansion)
@@ -404,7 +404,7 @@ class _ModManagerPageState extends State<ModManagerPage> {
child: Icon(
Icons.star,
color: Colors.yellow,
size: 16,
size: 24,
),
),
const SizedBox(width: 4),
@@ -415,7 +415,7 @@ class _ModManagerPageState extends State<ModManagerPage> {
child: const Icon(
Icons.link,
color: Colors.orange,
size: 16,
size: 24,
),
),
if (mod.loadAfter.isNotEmpty)
@@ -425,7 +425,7 @@ class _ModManagerPageState extends State<ModManagerPage> {
child: const Icon(
Icons.arrow_downward,
color: Colors.blue,
size: 16,
size: 24,
),
),
if (mod.loadBefore.isNotEmpty)
@@ -435,7 +435,7 @@ class _ModManagerPageState extends State<ModManagerPage> {
child: const Icon(
Icons.arrow_upward,
color: Colors.green,
size: 16,
size: 24,
),
),
],