This commit is contained in:
Manuel Lorenze 2023-02-06 12:27:04 -03:00
parent 45c1309754
commit 245e8ce648
2 changed files with 5 additions and 8 deletions

View File

@ -536,9 +536,9 @@
CODE_SIGN_ENTITLEMENTS = Example.entitlements; CODE_SIGN_ENTITLEMENTS = Example.entitlements;
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = YES; CODE_SIGN_INJECT_BASE_ENTITLEMENTS = YES;
CODE_SIGN_STYLE = Manual; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 4.0.0; CURRENT_PROJECT_VERSION = 4.0.0;
DEVELOPMENT_TEAM = ""; DEVELOPMENT_TEAM = 6F2G55XL63;
ENABLE_PREVIEWS = YES; ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = iOS/Info.plist; INFOPLIST_FILE = iOS/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 16.0; IPHONEOS_DEPLOYMENT_TARGET = 16.0;
@ -566,9 +566,9 @@
CODE_SIGN_ENTITLEMENTS = Example.entitlements; CODE_SIGN_ENTITLEMENTS = Example.entitlements;
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = YES; CODE_SIGN_INJECT_BASE_ENTITLEMENTS = YES;
CODE_SIGN_STYLE = Manual; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 4.0.0; CURRENT_PROJECT_VERSION = 4.0.0;
DEVELOPMENT_TEAM = ""; DEVELOPMENT_TEAM = 6F2G55XL63;
ENABLE_PREVIEWS = YES; ENABLE_PREVIEWS = YES;
INFOPLIST_FILE = iOS/Info.plist; INFOPLIST_FILE = iOS/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 16.0; IPHONEOS_DEPLOYMENT_TARGET = 16.0;

View File

@ -31,7 +31,6 @@ struct TwitterView: View {
@MainActor var body: some View { @MainActor var body: some View {
ScrollView(.vertical) { ScrollView(.vertical) {
PagerTabStripView(swipeGestureEnabled: $swipeGestureEnabled, selection: $selection) { PagerTabStripView(swipeGestureEnabled: $swipeGestureEnabled, selection: $selection) {
ForEach(toggle ? items : items.reversed().dropLast(5), id: \.title) { item in ForEach(toggle ? items : items.reversed().dropLast(5), id: \.title) { item in
PostsList(items: item.posts, withDescription: item.withDescription) PostsList(items: item.posts, withDescription: item.withDescription)
@ -52,10 +51,8 @@ struct TwitterView: View {
swipeGestureEnabled.toggle() swipeGestureEnabled.toggle()
} }
} }
).frame(height: 400) ).frame(width: 300, height: 400)
} }
} }
} }