// What the system allows of new-mail notifications, for Settings. // src/notifications/ui.rs fills this in. export global SystemNotifications { // "" where the app shows no notifications on this platform, which hides // their settings. "allowed"; "not-asked" until the system asks the user // (macOS); "denied" when they are turned off in the system settings; // "refused" when the system won't take them from this copy of the app // (macOS); "unavailable" when the system has no notification service to // show them. in property availability; // The system's settings for the app's notifications can be opened. in property settings-openable; // The desktop decides whether notifications play a sound. in property sound-fixed; // The system shows a count of unread mail on the app icon. in property badge-supported; callback open-settings(); }