StorageUsageModal

sealed interface StorageUsageModal(source)

Destructive action dialogs shown by the storage usage screen.

Author

Dmitriy Moroz

Inheritors

Types

Link copied to clipboard
data class ClearAll(val items: List<UsageItem>, val totalBytes: Long) : StorageUsageModal

Confirmation for deleting every currently non-empty storage category.

Link copied to clipboard
data class ClearCategory(val item: UsageItem) : StorageUsageModal

Confirmation for deleting one category.

Link copied to clipboard
data object None : StorageUsageModal

No dialog is visible.