Skip to content

Commit

Permalink
ktfmt format
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxCastelCast committed Dec 18, 2024
1 parent 12221a3 commit f8f47fc
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,18 +128,20 @@ class MeetingRequestService : FirebaseMessagingService() {
val stringReason =
when (message) {
"DISTANCE" -> DISTANCE_REASON_CANCELLATION
//"TIME" -> TIME_REASON_CANCELLATION
// "TIME" -> TIME_REASON_CANCELLATION
"CANCELLED" -> CANCELLED_REASON_CANCELLATION
"CLOSED" -> CLOSED_APP_REASON_CANCELLATION
else -> DEFAULT_REASON_CANCELLATION
}
if(stringReason != DEFAULT_REASON_CANCELLATION) {
if (stringReason != DEFAULT_REASON_CANCELLATION) {
MeetingRequestManager.meetingRequestViewModel?.removeFromMeetingRequestSent(senderUid) {
MeetingRequestManager.meetingRequestViewModel?.removeFromMeetingRequestInbox(senderUid) {
MeetingRequestManager.meetingRequestViewModel?.removeChosenLocalisation(senderUid) {
MeetingRequestManager.meetingRequestViewModel?.updateInboxOfMessages {}
}
}
MeetingRequestManager.meetingRequestViewModel?.removeFromMeetingRequestInbox(
senderUid) {
MeetingRequestManager.meetingRequestViewModel?.removeChosenLocalisation(
senderUid) {
MeetingRequestManager.meetingRequestViewModel?.updateInboxOfMessages {}
}
}
}
MeetingRequestManager.meetingRequestViewModel?.stopMeetingRequestTimer(senderUid, this)
showNotification("Cancelled meeting with $senderName", stringReason)
Expand Down

0 comments on commit f8f47fc

Please sign in to comment.