Skip to content

Commit

Permalink
chore: remove debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
Romainhir committed Nov 26, 2024
1 parent 33ae430 commit dbe1380
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,15 +287,13 @@ private fun AssociationProfileContent(

val onFollow = {
if (isConnected) {
Log.d("AssociationProfileContent", "Follow button clicked.")
enableButton = false
associationViewModel.updateFollow(association!!, user!!, isFollowed) {
userViewModel.refreshUser()
enableButton = true
}
isFollowed = !isFollowed
} else {
Log.d("AssociationProfileContent", "No internet connection.")
Toast.makeText(
context, context.getString(R.string.no_internet_connection), Toast.LENGTH_SHORT)
.show()
Expand Down

0 comments on commit dbe1380

Please sign in to comment.