Fix up main for tests
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:rimworld_modman/logger.dart';
|
||||
import 'package:rimworld_modman/mod.dart';
|
||||
import 'dart:io';
|
||||
import 'package:rimworld_modman/modloader.dart';
|
||||
|
||||
// Global variable to store loaded mods for access across the app
|
||||
@@ -410,10 +409,10 @@ class _ModManagerPageState extends State<ModManagerPage> {
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 4),
|
||||
if (mod.hardDependencies.isNotEmpty)
|
||||
if (mod.dependencies.isNotEmpty)
|
||||
Tooltip(
|
||||
message:
|
||||
'Hard dependencies:\n${mod.hardDependencies.join('\n')}',
|
||||
'Dependencies:\n${mod.dependencies.join('\n')}',
|
||||
child: const Icon(
|
||||
Icons.link,
|
||||
color: Colors.orange,
|
||||
@@ -605,10 +604,10 @@ class _ModManagerPageState extends State<ModManagerPage> {
|
||||
size: 24,
|
||||
),
|
||||
),
|
||||
if (mod.hardDependencies.isNotEmpty)
|
||||
if (mod.dependencies.isNotEmpty)
|
||||
Tooltip(
|
||||
message:
|
||||
'Dependencies:\n${mod.hardDependencies.join('\n')}',
|
||||
'Dependencies:\n${mod.dependencies.join('\n')}',
|
||||
child: const Icon(
|
||||
Icons.link,
|
||||
color: Colors.orange,
|
||||
@@ -703,10 +702,10 @@ class _ModManagerPageState extends State<ModManagerPage> {
|
||||
path: mod.path,
|
||||
versions: mod.versions,
|
||||
description: mod.description,
|
||||
hardDependencies: mod.hardDependencies,
|
||||
dependencies: mod.dependencies,
|
||||
loadAfter: mod.loadAfter,
|
||||
loadBefore: mod.loadBefore,
|
||||
incompatabilities: mod.incompatabilities,
|
||||
incompatibilities: mod.incompatibilities,
|
||||
enabled: !mod.enabled,
|
||||
size: mod.size,
|
||||
isBaseGame: mod.isBaseGame,
|
||||
|
Reference in New Issue
Block a user