launch Display Settings
Toggles the visibility of the display settings modal.
This function calls updateIsDisplaySettingsModalVisible with the negated value of isDisplaySettingsModalVisible to toggle the modal's visibility.
Example:
val options = LaunchDisplaySettingsOptions(
updateIsDisplaySettingsModalVisible = { isVisible ->
// Update visibility here
},
isDisplaySettingsModalVisible = false
)
launchDisplaySettings(options)
// This will open the display settings modal if it's currently closed, or close it if it's open.Content copied to clipboard