mirror of
				https://github.com/maxgoedjen/secretive.git
				synced 2025-10-31 07:20:57 +00:00 
			
		
		
		
	Fix warnings
This commit is contained in:
		
							parent
							
								
									77e90044aa
								
							
						
					
					
						commit
						8e569864c1
					
				| @ -12,7 +12,7 @@ struct CreateSecretView<StoreType: SecretStoreModifiable>: View { | |||||||
|     var body: some View { |     var body: some View { | ||||||
|         VStack { |         VStack { | ||||||
|             HStack { |             HStack { | ||||||
|                 Image(nsImage: NSApp.applicationIconImage) |                 Image(nsImage: NSApplication.shared.applicationIconImage) | ||||||
|                     .resizable() |                     .resizable() | ||||||
|                     .frame(width: 64, height: 64) |                     .frame(width: 64, height: 64) | ||||||
|                     .padding() |                     .padding() | ||||||
|  | |||||||
| @ -12,7 +12,7 @@ struct DeleteSecretView<StoreType: SecretStoreModifiable>: View { | |||||||
|     var body: some View { |     var body: some View { | ||||||
|         VStack { |         VStack { | ||||||
|             HStack { |             HStack { | ||||||
|                 Image(nsImage: NSApp.applicationIconImage) |                 Image(nsImage: NSApplication.shared.applicationIconImage) | ||||||
|                     .resizable() |                     .resizable() | ||||||
|                     .frame(width: 64, height: 64) |                     .frame(width: 64, height: 64) | ||||||
|                     .padding() |                     .padding() | ||||||
|  | |||||||
| @ -12,7 +12,7 @@ struct RenameSecretView<StoreType: SecretStoreModifiable>: View { | |||||||
|     var body: some View { |     var body: some View { | ||||||
|         VStack { |         VStack { | ||||||
|             HStack { |             HStack { | ||||||
|                 Image(nsImage: NSApp.applicationIconImage) |                 Image(nsImage: NSApplication.shared.applicationIconImage) | ||||||
|                     .resizable() |                     .resizable() | ||||||
|                     .frame(width: 64, height: 64) |                     .frame(width: 64, height: 64) | ||||||
|                     .padding() |                     .padding() | ||||||
|  | |||||||
| @ -146,7 +146,7 @@ struct SecretAgentSetupView: View { | |||||||
| 
 | 
 | ||||||
|     var body: some View { |     var body: some View { | ||||||
|         SetupStepView(title: "Setup Secret Agent", |         SetupStepView(title: "Setup Secret Agent", | ||||||
|                       image: Image(nsImage: NSApp.applicationIconImage), |                       image: Image(nsImage: NSApplication.shared.applicationIconImage), | ||||||
|                       bodyText: "Secretive needs to set up a helper app to work properly. It will sign requests from SSH clients in the background, so you don't need to keep the main Secretive app open.", |                       bodyText: "Secretive needs to set up a helper app to work properly. It will sign requests from SSH clients in the background, so you don't need to keep the main Secretive app open.", | ||||||
|                       buttonTitle: "Install", |                       buttonTitle: "Install", | ||||||
|                       buttonAction: install) { |                       buttonAction: install) { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user