Add color scheme duplicate and delete actions

This commit is contained in:
MM20
2023-08-25 18:40:14 +02:00
parent 9c70a495f8
commit d8e108cb70
4 changed files with 66 additions and 0 deletions
@@ -79,4 +79,10 @@ class ThemeRepository(
)
}
fun deleteTheme(theme: Theme) {
scope.launch {
database.themeDao().delete(theme.id)
}
}
}