openDebugSettingsFromOverlay method

Future<void> openDebugSettingsFromOverlay()

Pushes the debug settings screen from DigiaRecordingBadge, which lives above the app's own Navigator (inside DigiaHost's Stack, same as _presentNudge) — so it can't resolve Navigator.of(context) from its own BuildContext and must go through _navigator directly instead of the BuildContext-based Digia.openDebugSettings.

Implementation

Future<void> openDebugSettingsFromOverlay() async {
  if (!isDigiaDebugBuild()) return;
  final navigator = _navigator;
  if (navigator == null) {
    DigiaLog.log('openDebugSettings skipped — no navigator attached yet.');
    return;
  }
  await pushDebugSettingsRoute(navigator);
}