add ios 15
This commit is contained in:
		
							parent
							
								
									2000ddadc2
								
							
						
					
					
						commit
						adba8fc568
					
				@ -420,7 +420,7 @@
 | 
			
		||||
				"INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault;
 | 
			
		||||
				INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown 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[sdk=macosx*]" = "@executable_path/../Frameworks";
 | 
			
		||||
				MACOSX_DEPLOYMENT_TARGET = 11;
 | 
			
		||||
@ -460,7 +460,7 @@
 | 
			
		||||
				"INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault;
 | 
			
		||||
				INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown 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[sdk=macosx*]" = "@executable_path/../Frameworks";
 | 
			
		||||
				MACOSX_DEPLOYMENT_TARGET = 11;
 | 
			
		||||
 | 
			
		||||
@ -242,17 +242,30 @@ struct PrivateChatView: View {
 | 
			
		||||
                .frame(width: 36, height: 36)
 | 
			
		||||
 | 
			
		||||
                ZStack(alignment: .bottomTrailing) {
 | 
			
		||||
                    TextField(inputTab.placeholder, text: $draftText, axis: .vertical)
 | 
			
		||||
                        .lineLimit(1...4)
 | 
			
		||||
                        .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)
 | 
			
		||||
                    if #available(iOS 16.0, *) {
 | 
			
		||||
                        TextField(inputTab.placeholder, text: $draftText, axis: .vertical)
 | 
			
		||||
                            .lineLimit(1...4)
 | 
			
		||||
                            .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)
 | 
			
		||||
                    } 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: {  }) { // переключатель на стикеры
 | 
			
		||||
                        Image(systemName: "face.smiling")
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user