Skip to content

Commit

Permalink
Updates DRK
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoreymendez committed Dec 20, 2024
1 parent 1f2f8ad commit ebb5214
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 57 deletions.
6 changes: 1 addition & 5 deletions DuckDuckGo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,6 @@
7B059F142D03881000371ED0 /* ControlCenterWidgetEducationView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B059F132D03881000371ED0 /* ControlCenterWidgetEducationView.swift */; };
7B059F1D2D03A7E400371ED0 /* WidgetsShared.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 7B059F1C2D03A7E400371ED0 /* WidgetsShared.xcassets */; };
7B059F1E2D03A7E400371ED0 /* WidgetsShared.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 7B059F1C2D03A7E400371ED0 /* WidgetsShared.xcassets */; };
7B059F222D03BC4400371ED0 /* WidgetEducation.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 7B059F212D03BC4400371ED0 /* WidgetEducation.xcassets */; };
7B10FF242D11A56300F36BF2 /* ControlWidgetVPNIntents.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B10FF232D11A56300F36BF2 /* ControlWidgetVPNIntents.swift */; };
7B10FF252D11A56300F36BF2 /* ControlWidgetVPNIntents.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B10FF232D11A56300F36BF2 /* ControlWidgetVPNIntents.swift */; };
7B1604E82CB685B400A44EC6 /* Logger+TipKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B1604E72CB685B400A44EC6 /* Logger+TipKit.swift */; };
Expand Down Expand Up @@ -1771,7 +1770,6 @@
7B059F0D2D0387E900371ED0 /* WidgetEducationViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WidgetEducationViewController.swift; sourceTree = "<group>"; };
7B059F132D03881000371ED0 /* ControlCenterWidgetEducationView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ControlCenterWidgetEducationView.swift; sourceTree = "<group>"; };
7B059F1C2D03A7E400371ED0 /* WidgetsShared.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = WidgetsShared.xcassets; sourceTree = "<group>"; };
7B059F212D03BC4400371ED0 /* WidgetEducation.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = WidgetEducation.xcassets; sourceTree = "<group>"; };
7B10FF232D11A56300F36BF2 /* ControlWidgetVPNIntents.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ControlWidgetVPNIntents.swift; sourceTree = "<group>"; };
7B10FF282D11AA0D00F36BF2 /* VPNiOS */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = VPNiOS; sourceTree = "<group>"; };
7B1604E72CB685B400A44EC6 /* Logger+TipKit.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Logger+TipKit.swift"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -4280,7 +4278,6 @@
7B059F132D03881000371ED0 /* ControlCenterWidgetEducationView.swift */,
7B059F0C2D0387E900371ED0 /* WidgetEducationView.swift */,
7B059F0D2D0387E900371ED0 /* WidgetEducationViewController.swift */,
7B059F212D03BC4400371ED0 /* WidgetEducation.xcassets */,
);
path = Education;
sourceTree = "<group>";
Expand Down Expand Up @@ -7486,7 +7483,6 @@
7B059F1E2D03A7E400371ED0 /* WidgetsShared.xcassets in Resources */,
7B4F87EC2D07396A0010B18F /* SiriEducation.xcassets in Resources */,
85C2970A247EB7AA0063A335 /* Text.xcassets in Resources */,
7B059F222D03BC4400371ED0 /* WidgetEducation.xcassets in Resources */,
98788E9A2521DA1E00D55218 /* Localizable.stringsdict in Resources */,
CB9B873E278C93C2001F4906 /* HomeMessage.xcassets in Resources */,
);
Expand Down Expand Up @@ -11872,7 +11868,7 @@
repositoryURL = "https://github.com/duckduckgo/DesignResourcesKit";
requirement = {
kind = revision;
revision = 8449a35fd8c340fea4f837e2ebd19635cdd49d50;
revision = ba2f7e26575a9529ce268ce16f01760187649ce6;
};
};
F486D2EF25069482002D07D7 /* XCRemoteSwiftPackageReference "Kingfisher" */ = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/duckduckgo/DesignResourcesKit",
"state" : {
"revision" : "8449a35fd8c340fea4f837e2ebd19635cdd49d50"
"revision" : "ba2f7e26575a9529ce268ce16f01760187649ce6"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ struct ControlCenterWidgetEducationView: View {
.foregroundStyle(Color.white)
.frame(width: Size.widgetWidth, height: Size.widgetHeight)
.padding(Padding.widgetBorder)
.background(Circle().fill(Color(.controlCenterWidgetBackground)))
.background(Circle().fill(Color.controlWidgetBackground))
.frame(maxWidth: Size.widgetMaxWidth)

self.widgetIconDetail = .view(AnyView(icon), maxWidth: Size.widgetMaxWidth)
Expand Down Expand Up @@ -95,6 +95,7 @@ struct ControlCenterWidgetEducationView: View {

private extension Color {
static let background = Color(designSystemColor: .background)
static let controlWidgetBackground = Color("controlWidgetBackground", bundle: DesignResourcesKit.bundle)
static let font = Color("WidgetEducationFontColor")
}

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit ebb5214

Please sign in to comment.