Skip to content

Commit

Permalink
Create tribe button enabled for virtual accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
tomastiminskas committed Dec 13, 2023
1 parent 2bb3078 commit 5c1b160
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ internal class ChatListViewModel @Inject constructor(
chatListFooterButtonsViewStateContainer.updateViewState(
ChatListFooterButtonsViewState.ButtonsVisibility(
addFriendVisible = args.argChatListType == ChatType.CONVERSATION,
createTribeVisible = args.argChatListType == ChatType.TRIBE && !owner.isOnVirtualNode(),
createTribeVisible = args.argChatListType == ChatType.TRIBE,
discoverTribesVisible = args.argChatListType == ChatType.TRIBE,
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ internal class DashboardViewModel @Inject constructor(
chatListFooterButtonsViewStateContainer.updateViewState(
ChatListFooterButtonsViewState.ButtonsVisibility(
addFriendVisible = true,
createTribeVisible = !owner.isOnVirtualNode(),
createTribeVisible = true,
discoverTribesVisible = false
)
)
Expand Down

0 comments on commit 5c1b160

Please sign in to comment.