DefaultIssueReportHistoryDataSource
class DefaultIssueReportHistoryDataSource(dataStore: DataStore<Preferences>) : IssueReportHistoryDataSource(source)
Keeps the history in dataStore: the time of the last filed report, and each report as submittedAt:fingerprint. Entries that cannot be read are dropped.
Functions
Link copied to clipboard
The stored history, or an empty one when the file cannot be read.
Link copied to clipboard
Replaces the history with what transform makes of the stored one, in one transaction.