Skip to content

Commit 403439d

Browse files
Improved the Dropdown image size
1 parent eb24efa commit 403439d

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ It allows users to type, filter, and select from a list of options — similar t
1717

1818
```
1919
https://github.com/usamajavedswl/DropdownTextField.git
20-
2120
```
2221

2322
4. Choose the latest version and add it to your target.

Sources/DropdownTextField/DropdownTextField.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public struct DropdownTextField: View {
131131
dropdownIcon
132132
.resizable()
133133
.aspectRatio(contentMode: .fit)
134-
.frame(width: 18, height: 18)
134+
.frame(width: height * 0.45, height: height * 0.45)
135135
.foregroundColor(borderColor)
136136
.rotationEffect(.degrees(isDropdownVisible ? 180 : 0))
137137
}

Sources/MultiSelectionMenu/MultiSelectionMenu.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import SwiftUI
1515
import Combine
1616

1717
@available(iOS 17.0, *)
18-
public struct MultiSelectMenu: View {
18+
public struct MultiSelectionMenu: View {
1919
@State private var selectedOptions: [String] = []
2020
@State private var searchText: String = ""
2121
@State private var isOptionSelected: Bool = false
@@ -229,7 +229,7 @@ public struct MultiSelectMenu: View {
229229

230230
// MARK: - Private helpers
231231
@available(iOS 17.0, *)
232-
extension MultiSelectMenu {
232+
extension MultiSelectionMenu {
233233
private var filteredOptions: [String]{
234234
if searchText.isEmpty { return options }
235235
let allowed = CharacterSet.alphanumerics

0 commit comments

Comments
 (0)