Skip to content

Commit

Permalink
fix autofill UI for long copy
Browse files Browse the repository at this point in the history
  • Loading branch information
SabrinaTardio committed Feb 22, 2024
1 parent 15af998 commit 7178764
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 39 deletions.
4 changes: 3 additions & 1 deletion DuckDuckGo/SecureVault/View/PasswordManagementItemList.swift
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ struct PasswordManagementItemListCategoryView: View {
return 11
}

Spacer()
// Spacer()

// MenuButton incorrectly displays a disabled state when you re-render it with a different image.
// According to Stack Overflow, this was fixed in macOS 12, but it can still be reproduced on 12.2.
Expand All @@ -135,8 +135,10 @@ struct PasswordManagementItemListCategoryView: View {

if model.sortDescriptor.order == .ascending {
PasswordManagementSortButton(imageName: "SortAscending")
.frame(width: 24)
} else {
PasswordManagementSortButton(imageName: "SortDescending")
.frame(width: 24)
}
}
.padding(.vertical, -4)
Expand Down
Loading

0 comments on commit 7178764

Please sign in to comment.