Skip to content

Commit

Permalink
cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
osik2000 committed Jan 14, 2024
1 parent c89f96f commit e504c4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fun FooterUserAction(modifier: Modifier, trickRecord: TrickRecord) {
colored = isFavorite,
color = MaterialTheme.colorScheme.primary,
onClick = {
databaseService.addTrickRecordToFavorites( // TODO zrobić po stronie apki wysylanie zaktualizowanego usera do bazy danych
databaseService.addTrickRecordToFavorites(
trickRecord = trickRecord.toDTO(),
onSuccess = {
myToast(context = context, message = it)
Expand Down

0 comments on commit e504c4d

Please sign in to comment.