diff --git a/vector/src/main/java/im/vector/app/SpaceStateHandler.kt b/vector/src/main/java/im/vector/app/SpaceStateHandler.kt index acc2279d1a..39ed9bf4f6 100644 --- a/vector/src/main/java/im/vector/app/SpaceStateHandler.kt +++ b/vector/src/main/java/im/vector/app/SpaceStateHandler.kt @@ -53,7 +53,7 @@ interface SpaceStateHandler : DefaultLifecycleObserver { ) /** - * Gets the Space ID of the space on top of the backstack + * Gets the Space ID of the space on top of the backstack. * * May return null to indicate the All Chats space */ diff --git a/vector/src/main/java/im/vector/app/features/settings/VectorPreferences.kt b/vector/src/main/java/im/vector/app/features/settings/VectorPreferences.kt index 32638f5efc..cefbe64d9d 100755 --- a/vector/src/main/java/im/vector/app/features/settings/VectorPreferences.kt +++ b/vector/src/main/java/im/vector/app/features/settings/VectorPreferences.kt @@ -1128,10 +1128,10 @@ class VectorPreferences @Inject constructor( } /** - * Sets the space backstack that is used for up navigation - * This needs to be persisted because navigating up through spaces should work across sessions + * Sets the space backstack that is used for up navigation. + * This needs to be persisted because navigating up through spaces should work across sessions. * - * Only the IDs of the spaces are stored + * Only the IDs of the spaces are stored. */ fun setSpaceBackstack(spaceBackstack: List) { val spaceIdsJoined = spaceBackstack.takeIf { it.isNotEmpty() }?.joinToString(",") @@ -1139,7 +1139,7 @@ class VectorPreferences @Inject constructor( } /** - * Gets the space backstack used for up navigation + * Gets the space backstack used for up navigation. */ fun getSpaceBackstack(): List { val spaceIdsJoined = defaultPrefs.getString(SETTINGS_PERSISTED_SPACE_BACKSTACK, null) diff --git a/vector/src/test/java/im/vector/app/features/navigation/DefaultNavigatorTest.kt b/vector/src/test/java/im/vector/app/features/navigation/DefaultNavigatorTest.kt index 79c514083c..6301fe1549 100644 --- a/vector/src/test/java/im/vector/app/features/navigation/DefaultNavigatorTest.kt +++ b/vector/src/test/java/im/vector/app/features/navigation/DefaultNavigatorTest.kt @@ -48,8 +48,8 @@ internal class DefaultNavigatorTest { ) /** - * The below tests are by no means all that we want to test in [DefaultNavigator] - * Please add relevant tests as you make changes to or related to other functions in the class + * The below tests are by no means all that we want to test in [DefaultNavigator]. + * Please add relevant tests as you make changes to or related to other functions in the class. */ @Test