Skip to content

Commit 9f8ccb0

Browse files
committed
style: format code with ktfmt
1 parent 58b54c7 commit 9f8ccb0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

app/src/main/java/com/android/unio/model/association/AssociationRepositoryFirestore.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,10 @@ class AssociationRepositoryFirestore @Inject constructor(private val db: Firebas
7373
* Fetches an [Association] object from Firestore using the provided [id]. Here, instead of using
7474
* success and failure listener directly, we use a Snapshot Listener that call directly the
7575
* callback when a read/write are made on the local (cache) database.
76+
*
7677
* @param id [String] : The id of the [Association] to fetch.
77-
* @param onSuccess [(Association) -> Unit] : The callback to call when the [Association] is fetched.
78+
* @param onSuccess [(Association) -> Unit] : The callback to call when the [Association] is
79+
* fetched.
7880
* @param onFailure [(Exception) -> Unit] : The callback to call when the fetch fails.
7981
*/
8082
override fun getAssociationWithId(

app/src/main/java/com/android/unio/model/event/EventRepositoryFirestore.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class EventRepositoryFirestore @Inject constructor(private val db: FirebaseFires
4444
* Gets the event with the given id. Here, instead of using success and failure listener directly,
4545
* we use a Snapshot Listener that call directly the callback when a read/write are made on the
4646
* local (cache) database.
47+
*
4748
* @param id [String] : the id of the event to get.
4849
* @param onSuccess [(Event) -> Unit] : the callback to call when the event is found.
4950
* @param onFailure [(Exception) -> Unit] : the callback to call when an error occurs.

0 commit comments

Comments
 (0)