launch Settings
Toggles the visibility state of the settings modal.
The options parameter should include:
updateIsSettingsModalVisible: A function to update the visibility state of the settings modal.isSettingsModalVisible: The current visibility state of the settings modal.
Example usage:
launchSettings(
LaunchSettingsOptions(
updateIsSettingsModalVisible = { visible -> setModalVisible(visible) },
isSettingsModalVisible = false
)
)Content copied to clipboard