Skip to content

Commit

Permalink
Remove unncessary library view
Browse files Browse the repository at this point in the history
  • Loading branch information
iletai committed Dec 24, 2023
1 parent 724a66c commit e88d26b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 51 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
3E7A81DA2B2B0F4D0003D5A3 /* Utils */ = {
isa = PBXGroup;
children = (
3EEC9A792B301B540082BEE9 /* ViewModifer */,
3E7A81DB2B2B0FA90003D5A3 /* View+Extension.swift */,
);
path = Utils;
Expand All @@ -109,13 +108,6 @@
path = View;
sourceTree = "<group>";
};
3EEC9A792B301B540082BEE9 /* ViewModifer */ = {
isa = PBXGroup;
children = (
);
path = ViewModifer;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,15 @@ import Foundation

typealias BaseNavigation = BaseNavigationStack<ViewNavigationTarget>
struct ContentView: View {
@State var baseNavigation = BaseNavigation(isPresented: .constant(nil))
var body: some View {
BaseNavigationView<SplashView, ViewNavigationTarget> {
NavigationStack(path: baseNavigation.navigationPath) {
SplashView()
.withNavigationRouter()
.withSheetRouter(sheetDestination: baseNavigation.presentingSheet)
.withFullScreenRouter(baseNavigation.presentingFullScreen)
}
.environment(baseNavigation)
}
}

Expand Down
42 changes: 0 additions & 42 deletions Sources/BaseNavigationStack/BaseNavigationView.swift

This file was deleted.

0 comments on commit e88d26b

Please sign in to comment.