// SPDX-FileCopyrightText: 2026 FocusFlow contributors
// SPDX-License-Identifier: AGPL-3.0-only

part of '../../desktop_notification_adapter_io.dart';

/// Top-level helper that performs the `_currentPlatform` operation for this file.
/// Keeping the helper private makes the surrounding flow easier to read while preventing unrelated libraries from depending on implementation detail.
DesktopNotificationPlatform _currentPlatform() {
  if (Platform.isLinux) return DesktopNotificationPlatform.linux;
  if (Platform.isMacOS) return DesktopNotificationPlatform.macos;
  if (Platform.isWindows) return DesktopNotificationPlatform.windows;
  return DesktopNotificationPlatform.unsupported;
}
