mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	QML UI: animate showing the dive edit sheet
This now uses the correct property to open the OverlaySheet. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									d8ec9597fa
								
							
						
					
					
						commit
						e0ad3c85d1
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -42,17 +42,17 @@ Kirigami.Page {
 | 
			
		|||
		State {
 | 
			
		||||
			name: "view"
 | 
			
		||||
			PropertyChanges { target: diveDetailsPage; contextualActions: Qt.platform.os == "ios" ? [ deleteAction, backAction ] : [ deleteAction ] }
 | 
			
		||||
			PropertyChanges { target: detailsEditScroll; visible: false }
 | 
			
		||||
			PropertyChanges { target: detailsEditScroll; opened: false }
 | 
			
		||||
		},
 | 
			
		||||
		State {
 | 
			
		||||
			name: "edit"
 | 
			
		||||
			PropertyChanges { target: diveDetailsPage; contextualActions: Qt.platform.os == "ios" ? [ cancelAction ] : null }
 | 
			
		||||
			PropertyChanges { target: detailsEditScroll; visible: true }
 | 
			
		||||
			PropertyChanges { target: detailsEditScroll; opened: true }
 | 
			
		||||
		},
 | 
			
		||||
		State {
 | 
			
		||||
			name: "add"
 | 
			
		||||
			PropertyChanges { target: diveDetailsPage; contextualActions: Qt.platform.os == "ios" ? [ cancelAction ] : null }
 | 
			
		||||
			PropertyChanges { target: detailsEditScroll; visible: true }
 | 
			
		||||
			PropertyChanges { target: detailsEditScroll; opened: true }
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
	]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue