Skip to content

Commit b2f4bac

Browse files
committed
chore: prepare for release
1 parent 4e05067 commit b2f4bac

File tree

8 files changed

+9
-8
lines changed

8 files changed

+9
-8
lines changed

Giffy/App/Main/MainTabReducer.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ public enum Tabs: Int, CaseIterable {
1616
case aiGen
1717

1818
public static var allCases: [Tabs] {
19-
[.search, .home, .sticker]
19+
var cases: [Tabs] = [.search, .home]
20+
if !UIDevice.isIpad {
21+
cases.append(.sticker)
22+
}
23+
return cases
2024
}
2125

2226
var iconName: String {

Giffy/App/MainApp.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ struct MainApp: App {
2727
)
2828
.onAppear {
2929
router.makeRoot(.main)
30-
NFX.sharedInstance().start()
3130
}
3231
}
3332
}

Giffy/App/Resources/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<key>CFBundlePackageType</key>
2525
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
2626
<key>CFBundleShortVersionString</key>
27-
<string>1.0</string>
27+
<string>1.0.0</string>
2828
<key>CFBundleVersion</key>
2929
<string>1</string>
3030
<key>LSApplicationQueriesSchemes</key>

Giffy/App/Router/RouteView.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ struct RouteView: View {
3333

3434
case let .detail(items):
3535
DetailView(store: viewStore[detail: items])
36+
.navigationViewStyle(.stack)
3637
}
3738
}
38-
}
39+
}.navigationViewStyle(.stack)
3940
}
4041
}

Giffy/Features/AIGen/AIGenReducer.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,12 @@ public struct AIGenReducer {
3434
Reduce { state, action in
3535
switch action {
3636
case let .onPrompt(string):
37-
print("TRIGGRED \(string)")
3837
return .run { send in
3938
let images = try? await aiGenUseCase.execute(request: string)
4039
await send(.success(images ?? []))
4140
}
4241

4342
case let .success(images):
44-
print("GENERATED \(images)")
4543
state.images = images
4644
return .none
4745
}

Giffy/Features/AIGen/AIGenView.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ struct AIGenView: View {
2424
}
2525
}
2626
.onAppear {
27-
print("ONAPPEARED")
2827
viewStore.send(.onPrompt("ninja"))
2928
}
3029
}

Modules/Shared

856 Bytes
Binary file not shown.

project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ packages:
2424
version: 2.8.0
2525
Lottie:
2626
github: airbnb/lottie-spm
27-
version: 4.3.0
27+
version: 4.5.1
2828
netfox:
2929
github: kasketis/netfox
3030
version: 1.21.0

0 commit comments

Comments
 (0)