Skip to content

Commit

Permalink
chat ui and screnenshot updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsenguun authored and Tsenguun committed Jul 26, 2022
1 parent dfbf72b commit 305eb83
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 4 deletions.
Binary file added .DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions FirebaseChatApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 15.4;
IPHONEOS_DEPLOYMENT_TARGET = 15.5;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -471,7 +471,7 @@
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 15.4;
IPHONEOS_DEPLOYMENT_TARGET = 15.5;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down
Binary file not shown.
4 changes: 2 additions & 2 deletions FirebaseChatApp/Views/ChatView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ struct ChatView: View {
ScrollView {
ForEach(chatController.messages, id: \.messageID) { message in
ChatRow(message: message)
.id(sampleConversation.firstIndex(of: message))
.id(chatController.messages.firstIndex(of: message))
}
.onAppear {
scrollView.scrollTo(sampleConversation.count - 1)
scrollView.scrollTo(chatController.messages.count - 1)
}
}
}
Expand Down
Binary file added ScreenShots/.DS_Store
Binary file not shown.
Binary file added ScreenShots/FirebaseChat.mp4
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 305eb83

Please sign in to comment.