anchor.diff:              .read<OneSignalSubscriptionBloc>()
               .add(OneSignalSubscriptionCheck());
           context.read<OneSignalHealthBloc>().add(OneSignalHealthCheck());
  +      }
  +
  +      if (changes.to.userId != null) {
  +        final serversRegisteredWithoutOnesignal =
  +            await di.sl<Settings>().getAllServersWithoutOnesignalRegistered();
  +
  +        if (serversRegisteredWithoutOnesignal.isNotEmpty) {
  +          for (var i = 0; i < serversRegisteredWithoutOnesignal.length; i++) {
  +            final server = serversRegisteredWithoutOnesignal[i];
  +            final failureOrRegisterDevice = await di.sl<RegisterDevice>()(
  +              connectionProtocol: server.primaryActive
  +                  ? server.primaryConnectionProtocol
  +                  : server.secondaryConnectionProtocol,
  +              connectionDomain: server.primaryActive
  +                  ? server.primaryConnectionDomain
  +                  : server.secondaryConnectionDomain,
  +              connectionPath: server.primaryActive
  +                  ? server.primaryConnectionPath
  +                  : server.secondaryConnectionPath,
  +              deviceToken: server.deviceToken,
  +              trustCert: false,
  +            );
  +            failureOrRegisterDevice.fold(
  +              (failure) {
  +                di.sl<Logging>().error(
  +                      'OneSignal: Failed to update registration with OneSignal User ID for ${server.plexName}',
  +                    );
  +              },
  +              (registeredData) {
  +                di.sl<Logging>().info(
  +                      'OneSignal: Updating registration with OneSignal User ID for ${server.plexName}',
  +                    );
  +
  +                di.sl<Settings>().updateServer(
  +                      server.copyWith(onesignalRegistered: true),
  +                    );
  +              },
  +            );
  +          }
  +        }
         }
       });
     }
  
positive.code: import 'features/help/presentation/pages/help_page.dart';
  import 'features/history/presentation/pages/history_page.dart';
  import 'features/libraries/presentation/pages/libraries_page.dart';
  import 'features/logging/presentation/pages/logs_page.dart';
  import 'features/onesignal/presentation/bloc/onesignal_health_bloc.dart';
  import 'features/onesignal/presentation/bloc/onesignal_subscription_bloc.dart';
  import 'features/privacy/presentation/pages/privacy_page.dart';
  import 'features/recent/presentation/pages/recently_added_page.dart';
  import 'features/settings/presentation/bloc/settings_bloc.dart';
  import 'features/settings/presentation/pages/settings_page.dart';
  import 'features/statistics/presentation/pages/statistics_page.dart';
  import 'features/synced_items/presentation/pages/synced_items_page.dart';
  import 'features/users/presentation/pages/users_page.dart';
  
  class TautulliRemote extends StatefulWidget {
    final bool showWizard;
  
negative.code: import 'package:flutter/services.dart';
  import 'package:flutter_bloc/flutter_bloc.dart';
  import 'package:onesignal_flutter/onesignal_flutter.dart';
  
  import 'core/helpers/color_palette_helper.dart';
  import 'features/activity/presentation/pages/activity_page.dart';
  