From 442d7229808b72141bdac5fe4ffe164cfef77bc4 Mon Sep 17 00:00:00 2001 From: Maxime Naturel Date: Thu, 3 Mar 2022 15:07:09 +0100 Subject: [PATCH] Fix comment form in enum --- .../location/option/LocationSharingOption.kt | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/location/option/LocationSharingOption.kt b/vector/src/main/java/im/vector/app/features/location/option/LocationSharingOption.kt index 7d7cf29225..ebf9bde5f6 100644 --- a/vector/src/main/java/im/vector/app/features/location/option/LocationSharingOption.kt +++ b/vector/src/main/java/im/vector/app/features/location/option/LocationSharingOption.kt @@ -17,7 +17,18 @@ package im.vector.app.features.location.option enum class LocationSharingOption { - USER_CURRENT, // current user's location - USER_LIVE, // user's location during a certain amount of time - PINNED // static location pinned by the user + /** + * Current user's location. + */ + USER_CURRENT, + + /** + * User's location during a certain amount of time. + */ + USER_LIVE, + + /** + * Static location pinned by the user. + */ + PINNED }