Skip to content

Commit

Permalink
Merge pull request #1815 from anyproto/ios-3154-rollback-list-and-com…
Browse files Browse the repository at this point in the history
…pact-list-for-set-release

IOS-3154 Set widget | Fix show unsupported view
  • Loading branch information
mgolovko authored Jul 18, 2024
2 parents 9b8af94 + 605993b commit 654e1b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ final class SetObjectWidgetInternalViewModel: ObservableObject {

private func updateRows() {
withAnimation {
showUnsupportedBanner = !(setDocument?.activeView.type.isSupportedOnDevice ?? false)
showUnsupportedBanner = (style == .view) && !(setDocument?.activeView.type.isSupportedOnDevice ?? false)

switch style {
case .list:
Expand Down

0 comments on commit 654e1b6

Please sign in to comment.