Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdc6dd4f

Browse files
committed
remove settingsaccess
1 parent81754a2 commitdc6dd4f

File tree

3 files changed

+6
-31
lines changed

3 files changed

+6
-31
lines changed

‎Coder Desktop/Coder Desktop.xcodeproj/project.pbxproj

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
AA8BC3392D0060A900E1ABAA /* ViewInspector in Frameworks */ = {isa = PBXBuildFile; productRef = AA8BC3382D0060A900E1ABAA /* ViewInspector */; };
2626
AA8BC33F2D0061F200E1ABAA /* FluidMenuBarExtra in Frameworks */ = {isa = PBXBuildFile; productRef = AA8BC33E2D0061F200E1ABAA /* FluidMenuBarExtra */; };
2727
AA8BC4CF2D00A4B700E1ABAA /* KeychainAccess in Frameworks */ = {isa = PBXBuildFile; productRef = AA8BC4CE2D00A4B700E1ABAA /* KeychainAccess */; };
28-
AA8EECF72D3A22320049DD09 /* SettingsAccess in Frameworks */ = {isa = PBXBuildFile; productRef = AA8EECF62D3A22320049DD09 /* SettingsAccess */; };
2928
/* End PBXBuildFile section */
3029

3130
/* Begin PBXContainerItemProxy section */
@@ -233,7 +232,6 @@
233232
AA8BC4CF2D00A4B700E1ABAA /* KeychainAccess in Frameworks */,
234233
AA2C690F2D34F6920059AFAF /* LaunchAtLogin in Frameworks */,
235234
AA8BC33F2D0061F200E1ABAA /* FluidMenuBarExtra in Frameworks */,
236-
AA8EECF72D3A22320049DD09 /* SettingsAccess in Frameworks */,
237235
);
238236
runOnlyForDeploymentPostprocessing = 0;
239237
};
@@ -384,7 +382,6 @@
384382
AA8BC33E2D0061F200E1ABAA /* FluidMenuBarExtra */,
385383
AA8BC4CE2D00A4B700E1ABAA /* KeychainAccess */,
386384
AA2C690E2D34F6920059AFAF /* LaunchAtLogin */,
387-
AA8EECF62D3A22320049DD09 /* SettingsAccess */,
388385
);
389386
productName = "Coder Desktop";
390387
productReference = 961678FC2CFF100D00B2B6DF /* Coder Desktop.app */;
@@ -626,7 +623,6 @@
626623
AA3B3E8A2D2E0FE10099996A /* XCRemoteSwiftPackageReference "Mocker" */,
627624
AA2C690D2D34F6920059AFAF /* XCRemoteSwiftPackageReference "LaunchAtLogin-modern" */,
628625
AA2C698A2D354A600059AFAF /* XCRemoteSwiftPackageReference "SwiftLintPlugins" */,
629-
AA8EECF52D3A22320049DD09 /* XCRemoteSwiftPackageReference "SettingsAccess" */,
630626
);
631627
preferredProjectObjectVersion = 77;
632628
productRefGroup = 961678FD2CFF100D00B2B6DF /* Products */;
@@ -1537,14 +1533,6 @@
15371533
kind = branch;
15381534
};
15391535
};
1540-
AA8EECF52D3A22320049DD09 /* XCRemoteSwiftPackageReference "SettingsAccess" */ = {
1541-
isa = XCRemoteSwiftPackageReference;
1542-
repositoryURL = "https://github.com/orchetect/SettingsAccess";
1543-
requirement = {
1544-
kind = upToNextMajorVersion;
1545-
minimumVersion = 2.1.0;
1546-
};
1547-
};
15481536
/* End XCRemoteSwiftPackageReference section */
15491537

15501538
/* Begin XCSwiftPackageProductDependency section */
@@ -1633,11 +1621,6 @@
16331621
package = AA8BC4CD2D00A4B700E1ABAA /* XCRemoteSwiftPackageReference "KeychainAccess" */;
16341622
productName = KeychainAccess;
16351623
};
1636-
AA8EECF62D3A22320049DD09 /* SettingsAccess */ = {
1637-
isa = XCSwiftPackageProductDependency;
1638-
package = AA8EECF52D3A22320049DD09 /* XCRemoteSwiftPackageReference "SettingsAccess" */;
1639-
productName = SettingsAccess;
1640-
};
16411624
/* End XCSwiftPackageProductDependency section */
16421625
};
16431626
rootObject = 961678F42CFF100D00B2B6DF /* Project object */;

‎Coder Desktop/Coder Desktop.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 1 addition & 10 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎Coder Desktop/Coder Desktop/Views/VPNMenu.swift

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import SettingsAccess
21
import SwiftUI
32

43
structVPNMenu<VPN:VPNService, S:Session>:View{
54
@EnvironmentObjectvarvpn:VPN
65
@EnvironmentObjectvarsession:S
6+
@Environment(\.openSettings)privatevaropenSettings
77

88
letinspection=Inspection<Self>()
99

@@ -53,10 +53,11 @@ struct VPNMenu<VPN: VPNService, S: Session>: View {
5353
TrayDivider()
5454
}
5555
AuthButton<VPN,S>()
56-
SettingsLink{
57-
ButtonRowView{Text("Settings")}
58-
} preAction:{} postAction:{
56+
Button{
57+
openSettings()
5958
appActivate()
59+
} label:{
60+
ButtonRowView{Text("Settings")}
6061
}.buttonStyle(.plain)
6162
Button{
6263
About.open()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp