openDebugSettingsFromOverlay method

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

void openDebugSettingsFromOverlay() {
  if (!isDigiaDebugBuild()) return;
  _navigator?.push(
    MaterialPageRoute<void>(builder: (_) => const DigiaDebugSettingsScreen()),
  );
}