fix(Villagers): Swipe gesture dismiss the keyboard
* Previously you had to tap "return" if you want to dismiss the
keyboard
MODIFY
ACHNBrowserUI/ACHNBrowserUI.xcodeproj/project.pbxproj
ACHNBrowserUI/ACHNBrowserUI.xcodeproj/project.pbxproj
objects = {
/* Begin PBXBuildFile section */
+ 4C382EE8244E418800F446BA /* DismissingKeyboardOnSwipe.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C382EE7244E418800F446BA /* DismissingKeyboardOnSwipe.swift */; };
68345579244C994C0072FC0C /* StarButtonView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 68345578244C994C0072FC0C /* StarButtonView.swift */; };
6834557B244CA8E10072FC0C /* URL.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6834557A244CA8E10072FC0C /* URL.swift */; };
687B57602449EEB100C1E86F /* Island.swift in Sources */ = {isa = PBXBuildFile; fileRef = 687B575F2449EEB100C1E86F /* Island.swift */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
+ 4C382EE7244E418800F446BA /* DismissingKeyboardOnSwipe.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DismissingKeyboardOnSwipe.swift; sourceTree = "<group>"; };
68345578244C994C0072FC0C /* StarButtonView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StarButtonView.swift; sourceTree = "<group>"; };
6834557A244CA8E10072FC0C /* URL.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = URL.swift; sourceTree = "<group>"; };
687B575F2449EEB100C1E86F /* Island.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Island.swift; sourceTree = "<group>"; };
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
+ 4C382EE6244E415800F446BA /* viewModifiers */ = {
+ isa = PBXGroup;
+ children = (
+ 4C382EE7244E418800F446BA /* DismissingKeyboardOnSwipe.swift */,
+ );
+ path = viewModifiers;
+ sourceTree = "<group>";
+ };
687B5765244A02E400C1E86F /* turnips */ = {
isa = PBXGroup;
children = (
693E0B9D244C872300D20E46 /* environements */,
69AF8C65243E285A001DD9CB /* models */,
69AF8C6B243E2A0C001DD9CB /* viewModels */,
+ 4C382EE6244E415800F446BA /* viewModifiers */,
69AF8C64243E2857001DD9CB /* views */,
69AF8C50243E283D001DD9CB /* AppDelegate.swift */,
69AF8C52243E283D001DD9CB /* SceneDelegate.swift */,
693E0B22244C596D00D20E46 /* ActiveCrittersView.swift in Sources */,
69AF8C51243E283D001DD9CB /* AppDelegate.swift in Sources */,
68BA5834244B9D4100B53811 /* DashboardView.swift in Sources */,
+ 4C382EE8244E418800F446BA /* DismissingKeyboardOnSwipe.swift in Sources */,
697E63F92449DADE008FB710 /* VillagerRowView.swift in Sources */,
697E63EE2449A365008FB710 /* ACNHApiService.swift in Sources */,
693E0B1F244C526A00D20E46 /* ProgressView.swift in Sources */,

MODIFY
ACHNBrowserUI/ACHNBrowserUI/views/villagers/VillagersListView.swift
ACHNBrowserUI/ACHNBrowserUI/views/villagers/VillagersListView.swift
@@ -45,6 +45,7 @@ struct VillagersListView: View {
.background(Color.dialogue)
.navigationBarTitle(Text("Villagers"),
displayMode: .inline)
+ .modifier(DismissingKeyboardOnSwipe())
placeholderView
}
}

fix(Villagers): Swipe gesture dismiss the keyboard

* Previously you had to tap "return" if you want to dismiss the
keyboard