Skip to content

Commit

Permalink
fix: disable status update for private users (#2408)
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamadJaara authored Nov 14, 2023
1 parent c4e246c commit 4896629
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,13 @@ private fun SelfUserProfileContent(
else EditableState.IsEditable(onEditClick)
)
}
stickyHeader {
CurrentSelfUserStatus(
userStatus = status,
onStatusClicked = onStatusClicked
)
if (!state.teamName.isNullOrBlank()) {
stickyHeader {
CurrentSelfUserStatus(
userStatus = status,
onStatusClicked = onStatusClicked
)
}
}
if (state.otherAccounts.isNotEmpty()) {
stickyHeader {
Expand Down
2 changes: 1 addition & 1 deletion kalium
Submodule kalium updated 19 files
+1 βˆ’1 logic/src/commonMain/kotlin/com/wire/kalium/logic/data/id/IdProviders.kt
+2 βˆ’4 logic/src/commonMain/kotlin/com/wire/kalium/logic/data/sync/SlowSyncRepository.kt
+2 βˆ’1 logic/src/commonMain/kotlin/com/wire/kalium/logic/data/sync/SlowSyncStatus.kt
+3 βˆ’2 logic/src/commonMain/kotlin/com/wire/kalium/logic/data/user/AccountRepository.kt
+9 βˆ’1 logic/src/commonMain/kotlin/com/wire/kalium/logic/feature/UserSessionScope.kt
+56 βˆ’23 logic/src/commonMain/kotlin/com/wire/kalium/logic/sync/slow/SlowSyncManager.kt
+25 βˆ’0 logic/src/commonMain/kotlin/com/wire/kalium/logic/sync/slow/SlowSyncParam.kt
+11 βˆ’4 logic/src/commonMain/kotlin/com/wire/kalium/logic/sync/slow/SlowSyncWorker.kt
+45 βˆ’0 logic/src/commonMain/kotlin/com/wire/kalium/logic/sync/slow/migration/SyncMigrationStepsProvider.kt
+26 βˆ’0 logic/src/commonMain/kotlin/com/wire/kalium/logic/sync/slow/migration/steps/SyncMigrationStep.kt
+42 βˆ’0 logic/src/commonMain/kotlin/com/wire/kalium/logic/sync/slow/migration/steps/SyncMigrationStep_6_7.kt
+21 βˆ’8 logic/src/commonTest/kotlin/com/wire/kalium/logic/sync/slow/SlowSyncManagerTest.kt
+72 βˆ’18 logic/src/commonTest/kotlin/com/wire/kalium/logic/sync/slow/SlowSyncWorkerTest.kt
+134 βˆ’0 logic/src/commonTest/kotlin/com/wire/kalium/logic/sync/slow/migration/SyncMigrationStep_6_7_Test.kt
+62 βˆ’0 logic/src/commonTest/kotlin/com/wire/kalium/logic/sync/slow/migration/SyncMigrationStepsProviderTest.kt
+45 βˆ’0 logic/src/commonTest/kotlin/com/wire/kalium/logic/util/arrangement/provider/SelfTeamIdProviderArrangement.kt
+55 βˆ’0 .../commonTest/kotlin/com/wire/kalium/logic/util/arrangement/provider/SyncMigrationStepsProviderArrangement.kt
+54 βˆ’0 logic/src/commonTest/kotlin/com/wire/kalium/logic/util/arrangement/repository/AccountRepositoryArrangement.kt
+45 βˆ’0 logic/src/commonTest/kotlin/com/wire/kalium/logic/util/stubs/SyncMigrationStub.kt

0 comments on commit 4896629

Please sign in to comment.