add ios 15
This commit is contained in:
		
							parent
							
								
									2000ddadc2
								
							
						
					
					
						commit
						adba8fc568
					
				@ -420,7 +420,7 @@
 | 
				
			|||||||
				"INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault;
 | 
									"INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault;
 | 
				
			||||||
				INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
 | 
									INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
 | 
				
			||||||
				INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
 | 
									INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
 | 
				
			||||||
				IPHONEOS_DEPLOYMENT_TARGET = 16;
 | 
									IPHONEOS_DEPLOYMENT_TARGET = 15;
 | 
				
			||||||
				LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
 | 
									LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
 | 
				
			||||||
				"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
 | 
									"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
 | 
				
			||||||
				MACOSX_DEPLOYMENT_TARGET = 11;
 | 
									MACOSX_DEPLOYMENT_TARGET = 11;
 | 
				
			||||||
@ -460,7 +460,7 @@
 | 
				
			|||||||
				"INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault;
 | 
									"INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault;
 | 
				
			||||||
				INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
 | 
									INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
 | 
				
			||||||
				INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
 | 
									INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
 | 
				
			||||||
				IPHONEOS_DEPLOYMENT_TARGET = 16;
 | 
									IPHONEOS_DEPLOYMENT_TARGET = 15;
 | 
				
			||||||
				LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
 | 
									LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
 | 
				
			||||||
				"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
 | 
									"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
 | 
				
			||||||
				MACOSX_DEPLOYMENT_TARGET = 11;
 | 
									MACOSX_DEPLOYMENT_TARGET = 11;
 | 
				
			||||||
 | 
				
			|||||||
@ -242,17 +242,30 @@ struct PrivateChatView: View {
 | 
				
			|||||||
                .frame(width: 36, height: 36)
 | 
					                .frame(width: 36, height: 36)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                ZStack(alignment: .bottomTrailing) {
 | 
					                ZStack(alignment: .bottomTrailing) {
 | 
				
			||||||
                    TextField(inputTab.placeholder, text: $draftText, axis: .vertical)
 | 
					                    if #available(iOS 16.0, *) {
 | 
				
			||||||
                        .lineLimit(1...4)
 | 
					                        TextField(inputTab.placeholder, text: $draftText, axis: .vertical)
 | 
				
			||||||
                        .focused($isComposerFocused)
 | 
					                            .lineLimit(1...4)
 | 
				
			||||||
                        .submitLabel(.send)
 | 
					                            .focused($isComposerFocused)
 | 
				
			||||||
                        .disabled(currentUserId == nil)
 | 
					                            .submitLabel(.send)
 | 
				
			||||||
                        .onSubmit { sendCurrentMessage() }
 | 
					                            .disabled(currentUserId == nil)
 | 
				
			||||||
                        .padding(.top, 10)
 | 
					                            .onSubmit { sendCurrentMessage() }
 | 
				
			||||||
                        .padding(.leading, 12)
 | 
					                            .padding(.top, 10)
 | 
				
			||||||
                        .padding(.trailing, 44)
 | 
					                            .padding(.leading, 12)
 | 
				
			||||||
                        .padding(.bottom, 10)
 | 
					                            .padding(.trailing, 44)
 | 
				
			||||||
                        .frame(maxWidth: .infinity, minHeight: 40, alignment: .bottomLeading)
 | 
					                            .padding(.bottom, 10)
 | 
				
			||||||
 | 
					                            .frame(maxWidth: .infinity, minHeight: 40, alignment: .bottomLeading)
 | 
				
			||||||
 | 
					                    } else {
 | 
				
			||||||
 | 
					                        TextField(inputTab.placeholder, text: $draftText)
 | 
				
			||||||
 | 
					                            .focused($isComposerFocused)
 | 
				
			||||||
 | 
					                            .submitLabel(.send)
 | 
				
			||||||
 | 
					                            .disabled(currentUserId == nil)
 | 
				
			||||||
 | 
					                            .onSubmit { sendCurrentMessage() }
 | 
				
			||||||
 | 
					                            .padding(.top, 10)
 | 
				
			||||||
 | 
					                            .padding(.leading, 12)
 | 
				
			||||||
 | 
					                            .padding(.trailing, 44)
 | 
				
			||||||
 | 
					                            .padding(.bottom, 10)
 | 
				
			||||||
 | 
					                            .frame(maxWidth: .infinity, minHeight: 40, alignment: .bottomLeading)
 | 
				
			||||||
 | 
					                    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    Button(action: {  }) { // переключатель на стикеры
 | 
					                    Button(action: {  }) { // переключатель на стикеры
 | 
				
			||||||
                        Image(systemName: "face.smiling")
 | 
					                        Image(systemName: "face.smiling")
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user