BootloaderWarningDataSource

class BootloaderWarningDataSource(dataStore: ERROR CLASS: Symbol not found for DataStore<ERROR CLASS: Symbol not found for Preferences>)(source)

Constructors

Link copied to clipboard
constructor(dataStore: ERROR CLASS: Symbol not found for DataStore<ERROR CLASS: Symbol not found for Preferences>)

Functions

Link copied to clipboard
suspend fun dismiss(address: String)

Marks the bootloader warning as dismissed for the given address.

Link copied to clipboard
suspend fun isDismissed(address: String): Boolean

Returns true if the bootloader warning has been dismissed for the given address.