Settings File Manager
Utility methods for managing the settings file underlying PersistentSettings itself.
Properties
Functions
Link copied to clipboard
private fun DialogBuilder.actionDescriptors(vararg descriptors: DialogBuilder.ActionDescriptor): DialogBuilder
Syntactic sugar to add the given descriptors in a DSL-like fashion.
Link copied to clipboard
Copies the SETTINGS_FILE to target.
Link copied to clipboard
Syntactic sugar to add a cancel button in a DSL-like fashion.
Link copied to clipboard
Deletes the SETTINGS_FILE and resets PersistentSettings to its default state.
Link copied to clipboard
Restores settings into PERSISTENCE from the given source file.
Link copied to clipboard
Runs a dialog-based interface around backUpTo.
Link copied to clipboard
Shows a dialog with repair options for the settings file.
Link copied to clipboard
Shows a notification through which users can troubleshoot issues with their settings file.
Link copied to clipboard
Runs a dialog-based interface around deleteSettings.