mirror of
https://github.com/exituser/Pearcleaner.git
synced 2026-09-17 07:19:04 +00:00
v1.7
This commit is contained in:
@@ -535,7 +535,7 @@
|
|||||||
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
|
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
COMBINE_HIDPI_IMAGES = YES;
|
COMBINE_HIDPI_IMAGES = YES;
|
||||||
CURRENT_PROJECT_VERSION = 7;
|
CURRENT_PROJECT_VERSION = 8;
|
||||||
DEVELOPMENT_ASSET_PATHS = "";
|
DEVELOPMENT_ASSET_PATHS = "";
|
||||||
DEVELOPMENT_TEAM = BK8443AXLU;
|
DEVELOPMENT_TEAM = BK8443AXLU;
|
||||||
ENABLE_HARDENED_RUNTIME = YES;
|
ENABLE_HARDENED_RUNTIME = YES;
|
||||||
@@ -552,7 +552,7 @@
|
|||||||
"@executable_path/../Frameworks",
|
"@executable_path/../Frameworks",
|
||||||
);
|
);
|
||||||
MACOSX_DEPLOYMENT_TARGET = 13.0;
|
MACOSX_DEPLOYMENT_TARGET = 13.0;
|
||||||
MARKETING_VERSION = 1.6;
|
MARKETING_VERSION = 1.7;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.alienator88.Pearcleaner;
|
PRODUCT_BUNDLE_IDENTIFIER = com.alienator88.Pearcleaner;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||||
@@ -569,7 +569,7 @@
|
|||||||
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
|
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
COMBINE_HIDPI_IMAGES = YES;
|
COMBINE_HIDPI_IMAGES = YES;
|
||||||
CURRENT_PROJECT_VERSION = 7;
|
CURRENT_PROJECT_VERSION = 8;
|
||||||
DEVELOPMENT_ASSET_PATHS = "";
|
DEVELOPMENT_ASSET_PATHS = "";
|
||||||
DEVELOPMENT_TEAM = BK8443AXLU;
|
DEVELOPMENT_TEAM = BK8443AXLU;
|
||||||
ENABLE_HARDENED_RUNTIME = YES;
|
ENABLE_HARDENED_RUNTIME = YES;
|
||||||
@@ -586,7 +586,7 @@
|
|||||||
"@executable_path/../Frameworks",
|
"@executable_path/../Frameworks",
|
||||||
);
|
);
|
||||||
MACOSX_DEPLOYMENT_TARGET = 13.0;
|
MACOSX_DEPLOYMENT_TARGET = 13.0;
|
||||||
MARKETING_VERSION = 1.6;
|
MARKETING_VERSION = 1.7;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = com.alienator88.Pearcleaner;
|
PRODUCT_BUNDLE_IDENTIFIER = com.alienator88.Pearcleaner;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
SWIFT_EMIT_LOC_STRINGS = YES;
|
SWIFT_EMIT_LOC_STRINGS = YES;
|
||||||
|
|||||||
@@ -1,103 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Scheme
|
|
||||||
LastUpgradeVersion = "1500"
|
|
||||||
version = "1.7">
|
|
||||||
<BuildAction
|
|
||||||
parallelizeBuildables = "YES"
|
|
||||||
buildImplicitDependencies = "YES">
|
|
||||||
<BuildActionEntries>
|
|
||||||
<BuildActionEntry
|
|
||||||
buildForTesting = "YES"
|
|
||||||
buildForRunning = "YES"
|
|
||||||
buildForProfiling = "YES"
|
|
||||||
buildForArchiving = "YES"
|
|
||||||
buildForAnalyzing = "YES">
|
|
||||||
<BuildableReference
|
|
||||||
BuildableIdentifier = "primary"
|
|
||||||
BlueprintIdentifier = "C77B8FFF2AF18E2E009CC655"
|
|
||||||
BuildableName = "Pearcleaner.app"
|
|
||||||
BlueprintName = "Pearcleaner"
|
|
||||||
ReferencedContainer = "container:Pearcleaner.xcodeproj">
|
|
||||||
</BuildableReference>
|
|
||||||
</BuildActionEntry>
|
|
||||||
</BuildActionEntries>
|
|
||||||
</BuildAction>
|
|
||||||
<TestAction
|
|
||||||
buildConfiguration = "Release"
|
|
||||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
||||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
||||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
|
||||||
shouldAutocreateTestPlan = "YES">
|
|
||||||
</TestAction>
|
|
||||||
<LaunchAction
|
|
||||||
buildConfiguration = "Release"
|
|
||||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
||||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
||||||
launchStyle = "0"
|
|
||||||
useCustomWorkingDirectory = "NO"
|
|
||||||
ignoresPersistentStateOnLaunch = "NO"
|
|
||||||
debugDocumentVersioning = "YES"
|
|
||||||
debugServiceExtension = "internal"
|
|
||||||
allowLocationSimulation = "YES">
|
|
||||||
<BuildableProductRunnable
|
|
||||||
runnableDebuggingMode = "0">
|
|
||||||
<BuildableReference
|
|
||||||
BuildableIdentifier = "primary"
|
|
||||||
BlueprintIdentifier = "C77B8FFF2AF18E2E009CC655"
|
|
||||||
BuildableName = "Pearcleaner.app"
|
|
||||||
BlueprintName = "Pearcleaner"
|
|
||||||
ReferencedContainer = "container:Pearcleaner.xcodeproj">
|
|
||||||
</BuildableReference>
|
|
||||||
</BuildableProductRunnable>
|
|
||||||
<EnvironmentVariables>
|
|
||||||
<EnvironmentVariable
|
|
||||||
key = "OS_ACTIVITY_MODE"
|
|
||||||
value = "disable"
|
|
||||||
isEnabled = "YES">
|
|
||||||
</EnvironmentVariable>
|
|
||||||
</EnvironmentVariables>
|
|
||||||
</LaunchAction>
|
|
||||||
<ProfileAction
|
|
||||||
buildConfiguration = "Release"
|
|
||||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
|
||||||
savedToolIdentifier = ""
|
|
||||||
useCustomWorkingDirectory = "NO"
|
|
||||||
debugDocumentVersioning = "YES">
|
|
||||||
<BuildableProductRunnable
|
|
||||||
runnableDebuggingMode = "0">
|
|
||||||
<BuildableReference
|
|
||||||
BuildableIdentifier = "primary"
|
|
||||||
BlueprintIdentifier = "C77B8FFF2AF18E2E009CC655"
|
|
||||||
BuildableName = "Pearcleaner.app"
|
|
||||||
BlueprintName = "Pearcleaner"
|
|
||||||
ReferencedContainer = "container:Pearcleaner.xcodeproj">
|
|
||||||
</BuildableReference>
|
|
||||||
</BuildableProductRunnable>
|
|
||||||
</ProfileAction>
|
|
||||||
<AnalyzeAction
|
|
||||||
buildConfiguration = "Release">
|
|
||||||
</AnalyzeAction>
|
|
||||||
<ArchiveAction
|
|
||||||
buildConfiguration = "Release"
|
|
||||||
revealArchiveInOrganizer = "NO">
|
|
||||||
<PostActions>
|
|
||||||
<ExecutionAction
|
|
||||||
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
|
|
||||||
<ActionContent
|
|
||||||
title = "Run Script"
|
|
||||||
scriptText = "# For troubleshooting, enable to get log with errors # exec > "/Users/alin/GitHub/PeakPurge/Builds/Export/Xcode.log" 2>&1 # Variables MAIN_PROJECT_PATH="/Users/alin/GitHub/Pearcleaner" EXPORT_PATH="/Users/alin/GitHub/Pearcleaner/Builds/Export" while [[ -z $MARKETING_VERSION ]]; do MARKETING_VERSION=$(xcodebuild -showBuildSettings 2>/dev/null | awk -F' = ' '/MARKETING_VERSION/{print $2}' | xargs) sleep 1 done # Export the app file xcodebuild -exportArchive -archivePath "${ARCHIVE_PATH}" -exportOptionsPlist "${MAIN_PROJECT_PATH}"/Builds/ExportOptions.plist -exportPath "${EXPORT_PATH}" # Zip up the app file cd "${EXPORT_PATH}" zip -r -X "Pearcleaner.zip" "Pearcleaner.app" # Push to GitHub /opt/homebrew/bin/gh release create "${MARKETING_VERSION}" PeakPurge.zip --latest -t "v${MARKETING_VERSION}" -F "${MAIN_PROJECT_PATH}/Builds/changes.md" # Clean out the archive and app file, zip, etc. in Export folder rm -rf "${ARCHIVE_PATH}" #rm -rf "${EXPORT_PATH}"/*.app rm -rf "${EXPORT_PATH}"/* # Open folder at Export location #open "${EXPORT_PATH}" "
|
|
||||||
shellToInvoke = "/bin/bash">
|
|
||||||
<EnvironmentBuildable>
|
|
||||||
<BuildableReference
|
|
||||||
BuildableIdentifier = "primary"
|
|
||||||
BlueprintIdentifier = "C77B8FFF2AF18E2E009CC655"
|
|
||||||
BuildableName = "Pearcleaner.app"
|
|
||||||
BlueprintName = "Pearcleaner"
|
|
||||||
ReferencedContainer = "container:Pearcleaner.xcodeproj">
|
|
||||||
</BuildableReference>
|
|
||||||
</EnvironmentBuildable>
|
|
||||||
</ActionContent>
|
|
||||||
</ExecutionAction>
|
|
||||||
</PostActions>
|
|
||||||
</ArchiveAction>
|
|
||||||
</Scheme>
|
|
||||||
@@ -82,6 +82,8 @@ func getAppInfo(atPath path: URL) -> AppInfo? {
|
|||||||
appName = localizedName
|
appName = localizedName
|
||||||
} else if let bundleName = bundle.infoDictionary?["CFBundleName"] as? String {
|
} else if let bundleName = bundle.infoDictionary?["CFBundleName"] as? String {
|
||||||
appName = bundleName
|
appName = bundleName
|
||||||
|
} else {
|
||||||
|
appName = path.deletingPathExtension().lastPathComponent
|
||||||
}
|
}
|
||||||
// Check if the icon file name has an .icns extension, if not, add it
|
// Check if the icon file name has an .icns extension, if not, add it
|
||||||
if !appIconFileName.hasSuffix(".icns") {
|
if !appIconFileName.hasSuffix(".icns") {
|
||||||
|
|||||||
@@ -39,6 +39,29 @@ struct PearcleanerApp: App {
|
|||||||
.preferredColorScheme(displayMode.colorScheme)
|
.preferredColorScheme(displayMode.colorScheme)
|
||||||
.alert(isPresented: $appState.showAlert) { presentAlert(appState: appState) }
|
.alert(isPresented: $appState.showAlert) { presentAlert(appState: appState) }
|
||||||
.handlesExternalEvents(preferring: Set(arrayLiteral: "pear"), allowing: Set(arrayLiteral: "*"))
|
.handlesExternalEvents(preferring: Set(arrayLiteral: "pear"), allowing: Set(arrayLiteral: "*"))
|
||||||
|
.onOpenURL(perform: { url in
|
||||||
|
let deeplinkManager = DeeplinkManager()
|
||||||
|
deeplinkManager.manage(url: url, appState: appState)
|
||||||
|
})
|
||||||
|
.onDrop(of: ["public.file-url"], isTargeted: nil) { providers, _ in
|
||||||
|
for provider in providers {
|
||||||
|
provider.loadItem(forTypeIdentifier: "public.file-url") { data, error in
|
||||||
|
if let data = data as? Data, let url = URL(dataRepresentation: data, relativeTo: nil) {
|
||||||
|
let deeplinkManager = DeeplinkManager()
|
||||||
|
deeplinkManager.manage(url: url, appState: appState)
|
||||||
|
// // Check if the file URL has a ".app" extension
|
||||||
|
// if url.pathExtension.lowercased() == "app" {
|
||||||
|
// // Handle the dropped file URL here
|
||||||
|
// print("Dropped .app file URL: \(url)")
|
||||||
|
// } else {
|
||||||
|
// // Print a message for non-.app files
|
||||||
|
// print("Unsupported file type. Only .app files are accepted.")
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
}
|
||||||
.onAppear {
|
.onAppear {
|
||||||
NSWindow.allowsAutomaticWindowTabbing = false
|
NSWindow.allowsAutomaticWindowTabbing = false
|
||||||
|
|
||||||
@@ -110,9 +133,11 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
|||||||
// func application(_ sender: NSApplication, open urls: [URL]) {
|
// func application(_ sender: NSApplication, open urls: [URL]) {
|
||||||
// for url in urls {
|
// for url in urls {
|
||||||
// if url.pathExtension == "app" {
|
// if url.pathExtension == "app" {
|
||||||
|
// writeLog(string: url.path)
|
||||||
// print("Dropped app path:", url.path)
|
// print("Dropped app path:", url.path)
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -25,12 +25,7 @@ struct AppListItems: View {
|
|||||||
var body: some View {
|
var body: some View {
|
||||||
VStack(alignment: .leading, spacing: 5) {
|
VStack(alignment: .leading, spacing: 5) {
|
||||||
HStack(alignment: .center) {
|
HStack(alignment: .center) {
|
||||||
// if isHovered || isSelected {
|
|
||||||
// Circle()
|
|
||||||
// .fill(Color("AccentColor"))
|
|
||||||
// .frame(width: 10)
|
|
||||||
// .padding(5)
|
|
||||||
// }
|
|
||||||
if let appIcon = appInfo.appIcon {
|
if let appIcon = appInfo.appIcon {
|
||||||
Image(nsImage: appIcon)
|
Image(nsImage: appIcon)
|
||||||
.resizable()
|
.resizable()
|
||||||
@@ -106,18 +101,5 @@ struct AppListItems: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// .popover(isPresented: $appState.showPopover, arrowEdge: .trailing) {
|
|
||||||
// VStack {
|
|
||||||
// FilesView()
|
|
||||||
// .id(appState.appInfo.id)
|
|
||||||
// }
|
|
||||||
// .background(
|
|
||||||
// Rectangle()
|
|
||||||
// .background(colorScheme == .dark ? .black.opacity(0.8) : .white)
|
|
||||||
// .padding(-80)
|
|
||||||
// )
|
|
||||||
// .frame(minWidth: 500, minHeight: 500)
|
|
||||||
//
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -146,10 +146,29 @@ struct AppListView: View {
|
|||||||
Spacer()
|
Spacer()
|
||||||
}
|
}
|
||||||
.edgesIgnoringSafeArea(.all)
|
.edgesIgnoringSafeArea(.all)
|
||||||
.onOpenURL(perform: { url in
|
// .onOpenURL(perform: { url in
|
||||||
let deeplinkManager = DeeplinkManager()
|
// let deeplinkManager = DeeplinkManager()
|
||||||
deeplinkManager.manage(url: url, appState: appState)
|
// deeplinkManager.manage(url: url, appState: appState)
|
||||||
})
|
// })
|
||||||
|
// .onDrop(of: ["public.file-url"], isTargeted: nil) { providers, _ in
|
||||||
|
// for provider in providers {
|
||||||
|
// provider.loadItem(forTypeIdentifier: "public.file-url") { data, error in
|
||||||
|
// if let data = data as? Data, let url = URL(dataRepresentation: data, relativeTo: nil) {
|
||||||
|
// let deeplinkManager = DeeplinkManager()
|
||||||
|
// deeplinkManager.manage(url: url, appState: appState)
|
||||||
|
// // // Check if the file URL has a ".app" extension
|
||||||
|
// // if url.pathExtension.lowercased() == "app" {
|
||||||
|
// // // Handle the dropped file URL here
|
||||||
|
// // print("Dropped .app file URL: \(url)")
|
||||||
|
// // } else {
|
||||||
|
// // // Print a message for non-.app files
|
||||||
|
// // print("Unsupported file type. Only .app files are accepted.")
|
||||||
|
// // }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// return true
|
||||||
|
// }
|
||||||
// MARK: Background for whole app
|
// MARK: Background for whole app
|
||||||
// .background(Color("bg").opacity(1))
|
// .background(Color("bg").opacity(1))
|
||||||
// .background(VisualEffect(material: .sidebar, blendingMode: .behindWindow).edgesIgnoringSafeArea(.all))
|
// .background(VisualEffect(material: .sidebar, blendingMode: .behindWindow).edgesIgnoringSafeArea(.all))
|
||||||
|
|||||||
@@ -34,6 +34,15 @@ struct DropTarget: View, DropDelegate {
|
|||||||
Spacer()
|
Spacer()
|
||||||
|
|
||||||
ZStack {
|
ZStack {
|
||||||
|
// Color("mode")
|
||||||
|
// .mask(
|
||||||
|
// Image(mini ? "pear" : "logo")
|
||||||
|
// .resizable()
|
||||||
|
// .scaledToFit()
|
||||||
|
// .frame(minWidth: mini ? 104 : 300)
|
||||||
|
// .frame(maxWidth: mini ? 104 : 500)
|
||||||
|
// .padding(mini ? 20 : 10)
|
||||||
|
// )
|
||||||
LinearGradient(gradient: Gradient(colors: [.pink, .orange]), startPoint: .leading, endPoint: .trailing)
|
LinearGradient(gradient: Gradient(colors: [.pink, .orange]), startPoint: .leading, endPoint: .trailing)
|
||||||
.mask(
|
.mask(
|
||||||
Image(mini ? "pear" : "logo")
|
Image(mini ? "pear" : "logo")
|
||||||
@@ -54,6 +63,7 @@ struct DropTarget: View, DropDelegate {
|
|||||||
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
||||||
.background {
|
.background {
|
||||||
RoundedRectangle(cornerRadius: 8)
|
RoundedRectangle(cornerRadius: 8)
|
||||||
|
// .fill(LinearGradient(gradient: Gradient(colors: [.pink, .orange]), startPoint: .leading, endPoint: .trailing))
|
||||||
.strokeBorder(LinearGradient(gradient: Gradient(colors: [.pink, .orange]), startPoint: .leading, endPoint: .trailing), style: StrokeStyle(lineWidth: 3, dash: [11.0], dashPhase: phase))
|
.strokeBorder(LinearGradient(gradient: Gradient(colors: [.pink, .orange]), startPoint: .leading, endPoint: .trailing), style: StrokeStyle(lineWidth: 3, dash: [11.0], dashPhase: phase))
|
||||||
.onAppear {
|
.onAppear {
|
||||||
withAnimation(.linear.speed(0.5).repeat(while: ants, autoreverses: false)) {
|
withAnimation(.linear.speed(0.5).repeat(while: ants, autoreverses: false)) {
|
||||||
|
|||||||
@@ -39,16 +39,49 @@ struct MiniMode: View {
|
|||||||
}
|
}
|
||||||
// .padding(.leading, appState.sidebar ? 0 : 10)
|
// .padding(.leading, appState.sidebar ? 0 : 10)
|
||||||
.transition(.move(edge: .leading))
|
.transition(.move(edge: .leading))
|
||||||
|
.popover(isPresented: $showPopover, arrowEdge: .trailing) {
|
||||||
|
VStack {
|
||||||
|
FilesView(showPopover: $showPopover)
|
||||||
|
.id(appState.appInfo.id)
|
||||||
|
}
|
||||||
|
.background(
|
||||||
|
Rectangle()
|
||||||
|
.fill(Color("pop"))
|
||||||
|
.padding(-80)
|
||||||
|
)
|
||||||
|
.frame(minWidth: 600, minHeight: 500)
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
.frame(minWidth: 300, minHeight: 300)
|
.frame(minWidth: 300, minHeight: 300)
|
||||||
.edgesIgnoringSafeArea(.all)
|
.edgesIgnoringSafeArea(.all)
|
||||||
.background(glass ? GlassEffect(material: .sidebar, blendingMode: .behindWindow).edgesIgnoringSafeArea(.all) : nil)
|
.background(glass ? GlassEffect(material: .sidebar, blendingMode: .behindWindow).edgesIgnoringSafeArea(.all) : nil)
|
||||||
.onOpenURL(perform: { url in
|
|
||||||
let deeplinkManager = DeeplinkManager()
|
// .onOpenURL(perform: { url in
|
||||||
deeplinkManager.manage(url: url, appState: appState)
|
// let deeplinkManager = DeeplinkManager()
|
||||||
})
|
// deeplinkManager.manage(url: url, appState: appState)
|
||||||
|
// })
|
||||||
|
// .onDrop(of: ["public.file-url"], isTargeted: nil) { providers, _ in
|
||||||
|
// for provider in providers {
|
||||||
|
// provider.loadItem(forTypeIdentifier: "public.file-url") { data, error in
|
||||||
|
// if let data = data as? Data, let url = URL(dataRepresentation: data, relativeTo: nil) {
|
||||||
|
// let deeplinkManager = DeeplinkManager()
|
||||||
|
// deeplinkManager.manage(url: url, appState: appState)
|
||||||
|
//// // Check if the file URL has a ".app" extension
|
||||||
|
//// if url.pathExtension.lowercased() == "app" {
|
||||||
|
//// // Handle the dropped file URL here
|
||||||
|
//// print("Dropped .app file URL: \(url)")
|
||||||
|
//// } else {
|
||||||
|
//// // Print a message for non-.app files
|
||||||
|
//// print("Unsupported file type. Only .app files are accepted.")
|
||||||
|
//// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// return true
|
||||||
|
// }
|
||||||
// MARK: Background for whole app
|
// MARK: Background for whole app
|
||||||
// .background(Color("bg").opacity(1))
|
// .background(Color("bg").opacity(1))
|
||||||
// .background(VisualEffect(material: .sidebar, blendingMode: .behindWindow).edgesIgnoringSafeArea(.all))
|
// .background(VisualEffect(material: .sidebar, blendingMode: .behindWindow).edgesIgnoringSafeArea(.all))
|
||||||
@@ -193,20 +226,20 @@ struct MiniAppView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.transition(.move(edge: .leading))
|
.transition(.move(edge: .leading))
|
||||||
.popover(isPresented: $showPopover, arrowEdge: .trailing) {
|
// .popover(isPresented: $showPopover, arrowEdge: .trailing) {
|
||||||
VStack {
|
// VStack {
|
||||||
FilesView(showPopover: $showPopover)
|
// FilesView(showPopover: $showPopover)
|
||||||
.id(appState.appInfo.id)
|
// .id(appState.appInfo.id)
|
||||||
}
|
// }
|
||||||
.background(
|
// .background(
|
||||||
Rectangle()
|
// Rectangle()
|
||||||
.fill(Color("pop"))
|
// .fill(Color("pop"))
|
||||||
// .background(Color("pop"))
|
//// .background(Color("pop"))
|
||||||
.padding(-80)
|
// .padding(-80)
|
||||||
)
|
// )
|
||||||
.frame(minWidth: 600, minHeight: 500)
|
// .frame(minWidth: 600, minHeight: 500)
|
||||||
|
//
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user