style: apply analyzer lint fixes across lib
Initializing formals, unawaited() on fire-and-forget futures, unused import removal, wildcard params, and mounted vs context.mounted.
This commit is contained in:
+2
-1
@@ -1113,6 +1113,7 @@ class _SetupScreenState extends State<SetupScreen> with MountedSetStateMixin {
|
||||
final profileConnections = context.read<ProfileConnectionRegistry>();
|
||||
final profileRegistry = context.read<ProfileRegistry>();
|
||||
final activeProfiles = context.read<ActiveProfileProvider>();
|
||||
final serverManager = context.read<MultiServerProvider>().serverManager;
|
||||
final bootstrap = ConnectionBootstrap(
|
||||
storage: storage,
|
||||
connectionRegistry: connRegistry,
|
||||
@@ -1124,7 +1125,7 @@ class _SetupScreenState extends State<SetupScreen> with MountedSetStateMixin {
|
||||
profileConnections: profileConnections,
|
||||
connections: connRegistry,
|
||||
storage: storage,
|
||||
serverManager: context.read<MultiServerProvider>().serverManager,
|
||||
serverManager: serverManager,
|
||||
);
|
||||
if (pruned > 0) {
|
||||
appLogger.i('Setup: pruned $pruned unreferenced Jellyfin connection${pruned == 1 ? '' : 's'}');
|
||||
|
||||
Reference in New Issue
Block a user