Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/9130.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Temporary hide "Verify this device" banner.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ data class HomeDetailViewState(
val isSessionVerified: Boolean = true,
) : MavericksState {
val showDialPadTab = forceDialPadTab || pstnSupportFlag

// Temporarily disabled until we have a way to reset from the verification screen.
val showVerifyDeviceBanner = false // !isSessionVerified
}

sealed class HomeTab(@StringRes val titleRes: Int) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import android.view.Menu
import android.view.MenuItem
import android.view.View
import android.view.ViewGroup
import androidx.core.view.isGone
import androidx.core.view.isVisible
import androidx.lifecycle.lifecycleScope
import com.airbnb.mvrx.activityViewModel
Expand Down Expand Up @@ -387,7 +386,7 @@ class NewHomeDetailFragment :
it.pushCounter,
vectorPreferences.developerShowDebugInfo()
)
views.homeVerifyDevice.isGone = it.isSessionVerified
views.homeVerifyDevice.isVisible = it.showVerifyDeviceBanner
refreshAvatar()
hasUnreadRooms = it.hasUnreadMessages
}
Expand Down
Loading