Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-dydx committed Nov 28, 2023
1 parent b54121e commit 608ed19
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 297 deletions.
11 changes: 0 additions & 11 deletions PlatformUI/PlatformUI/DesignSystem/Theme/ThemeViewModifiers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,6 @@ private struct BackgroundColorModifier: ViewModifier {
}
}

private struct BorderColorModifier: ViewModifier {
@EnvironmentObject var themeSettings: ThemeSettings

let layerColor: ThemeColor.SemanticColor

func body(content: Content) -> some View {
content
.background(themeSettings.themeConfig.themeColor.color(of: layerColor))
}
}

private struct GradientColorModifier: ViewModifier {
@EnvironmentObject var themeSettings: ThemeSettings

Expand Down
12 changes: 0 additions & 12 deletions dydx/dydxPresenters/dydxPresenters.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@
02860A9F29C15E760079E644 /* dydxOnboardScanViewBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02860A9329C15E760079E644 /* dydxOnboardScanViewBuilder.swift */; };
028AC6A42A5E564B00FE0891 /* dydxTransferAlertsProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 028AC6A32A5E564B00FE0891 /* dydxTransferAlertsProvider.swift */; };
028DB3402A05893D0090BE58 /* dydxProfileHeaderViewPresenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 028DB33F2A05893D0090BE58 /* dydxProfileHeaderViewPresenter.swift */; };
028DB3562A05BF630090BE58 /* dydxAddressDetailsViewBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 028DB3552A05BF630090BE58 /* dydxAddressDetailsViewBuilder.swift */; };
028FB3EC2AD642B30013136C /* dydxTokenConstants.swift in Sources */ = {isa = PBXBuildFile; fileRef = 028FB3EB2AD642B30013136C /* dydxTokenConstants.swift */; };
0295392329FB256E009026E3 /* dydxThemeViewBuilder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0295392229FB256E009026E3 /* dydxThemeViewBuilder.swift */; };
0295392729FB28B7009026E3 /* settings_theme.json in Resources */ = {isa = PBXBuildFile; fileRef = 0295392629FB28B7009026E3 /* settings_theme.json */; };
Expand Down Expand Up @@ -416,7 +415,6 @@
02860A9329C15E760079E644 /* dydxOnboardScanViewBuilder.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = dydxOnboardScanViewBuilder.swift; sourceTree = "<group>"; };
028AC6A32A5E564B00FE0891 /* dydxTransferAlertsProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = dydxTransferAlertsProvider.swift; sourceTree = "<group>"; };
028DB33F2A05893D0090BE58 /* dydxProfileHeaderViewPresenter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = dydxProfileHeaderViewPresenter.swift; sourceTree = "<group>"; };
028DB3552A05BF630090BE58 /* dydxAddressDetailsViewBuilder.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = dydxAddressDetailsViewBuilder.swift; sourceTree = "<group>"; };
028FB3EB2AD642B30013136C /* dydxTokenConstants.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = dydxTokenConstants.swift; sourceTree = "<group>"; };
0295392229FB256E009026E3 /* dydxThemeViewBuilder.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = dydxThemeViewBuilder.swift; sourceTree = "<group>"; };
0295392629FB28B7009026E3 /* settings_theme.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = settings_theme.json; sourceTree = "<group>"; };
Expand Down Expand Up @@ -854,7 +852,6 @@
023848C32A9E6BCD00B1A673 /* SystemStatus */,
2741E3712A689702000FA190 /* DirectionColorPreference */,
02F958152A1BDEEF00828F9A /* KeyExport */,
028DB34D2A05BE650090BE58 /* AddressDetails */,
02E90C4C29D62702004E2311 /* FeatureFlags */,
02FAFA4E29D4E079001A0903 /* Debug */,
027E1EEA29CA27B00098666F /* Settings */,
Expand Down Expand Up @@ -1012,14 +1009,6 @@
path = Scan;
sourceTree = "<group>";
};
028DB34D2A05BE650090BE58 /* AddressDetails */ = {
isa = PBXGroup;
children = (
028DB3552A05BF630090BE58 /* dydxAddressDetailsViewBuilder.swift */,
);
path = AddressDetails;
sourceTree = "<group>";
};
0295391529FB254C009026E3 /* Theme */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -1758,7 +1747,6 @@
0230376F28C11BE600412B72 /* dydxMarketsViewBuilder.swift in Sources */,
270BA8F32A6F278F009212EA /* dydxDebugThemeViewerBuilder.swift in Sources */,
02669B952AD87A9D00A756AA /* dydxGlobalWorkers.swift in Sources */,
028DB3562A05BF630090BE58 /* dydxAddressDetailsViewBuilder.swift in Sources */,
027CB28729EEFF910069781A /* dydxTransferStatusViewBuilder.swift in Sources */,
0257C78E2A00485500F6160B /* SparklineDataPoint.swift in Sources */,
028DB3402A05893D0090BE58 /* dydxProfileHeaderViewPresenter.swift in Sources */,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,6 @@
"/my-profile":{
"destination":"dydxPresenters.dydxProfileViewBuilder"
},
"/my-profile/address":{
"destination":"dydxPresenters.dydxAddressDetailsViewBuilder",
"presentation":"push"
},
"/my-profile/keyexport":{
"destination":"dydxPresenters.dydxKeyExportViewBuilder",
"presentation":"prompt"
Expand Down

This file was deleted.

12 changes: 0 additions & 12 deletions dydx/dydxViews/dydxViews.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@
0284201629AD71B600C0E7CC /* Enums.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0284201529AD71B600C0E7CC /* Enums.swift */; };
02860A9129C15E670079E644 /* dydxOnboardScanView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02860A8429C15E670079E644 /* dydxOnboardScanView.swift */; };
028DB33E2A0589270090BE58 /* dydxProfileHeaderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 028DB33D2A0589270090BE58 /* dydxProfileHeaderView.swift */; };
028DB3542A05BF530090BE58 /* dydxAddressDetailsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 028DB3532A05BF530090BE58 /* dydxAddressDetailsView.swift */; };
02934CE5290067F1005DB99C /* SideChange.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02934CE4290067F1005DB99C /* SideChange.swift */; };
0297A0F72A6109E500619181 /* ProgressStepView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0297A0F62A6109E500619181 /* ProgressStepView.swift */; };
029CBE6C28F5F3F600259C1D /* dydxMarketFundingChartView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 029CBE6B28F5F3F600259C1D /* dydxMarketFundingChartView.swift */; };
Expand Down Expand Up @@ -440,7 +439,6 @@
0284201529AD71B600C0E7CC /* Enums.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Enums.swift; sourceTree = "<group>"; };
02860A8429C15E670079E644 /* dydxOnboardScanView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = dydxOnboardScanView.swift; sourceTree = "<group>"; };
028DB33D2A0589270090BE58 /* dydxProfileHeaderView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = dydxProfileHeaderView.swift; sourceTree = "<group>"; };
028DB3532A05BF530090BE58 /* dydxAddressDetailsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = dydxAddressDetailsView.swift; sourceTree = "<group>"; };
02934CE4290067F1005DB99C /* SideChange.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SideChange.swift; sourceTree = "<group>"; };
0297A0F62A6109E500619181 /* ProgressStepView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ProgressStepView.swift; sourceTree = "<group>"; };
029CBE6B28F5F3F600259C1D /* dydxMarketFundingChartView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = dydxMarketFundingChartView.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1004,7 +1002,6 @@
024FEB622ACB75C00087A55E /* FeesStructure */,
270BA8C12A6F145B009212EA /* Settings */,
02F958062A1BDED300828F9A /* KeyExport */,
028DB3502A05BEA30090BE58 /* AddressDetails */,
0253177C29C126C800D6CC9B /* TradingNetwork */,
0258BA2429929D050098E1BE /* Components */,
0258BA1C2992949D0098E1BE /* dydxProfileView.swift */,
Expand Down Expand Up @@ -1131,14 +1128,6 @@
path = Components;
sourceTree = "<group>";
};
028DB3502A05BEA30090BE58 /* AddressDetails */ = {
isa = PBXGroup;
children = (
028DB3532A05BF530090BE58 /* dydxAddressDetailsView.swift */,
);
path = AddressDetails;
sourceTree = "<group>";
};
029CBE5E28F5F3C800259C1D /* Funding */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -1894,7 +1883,6 @@
02678F5B2965DEAD00EE346B /* dydxPortfolioSectionsView.swift in Sources */,
64A4DB762966276B008D8E20 /* dydxTradeInputTriggerPriceView.swift in Sources */,
0238FEBF2970CBEF002E1C1A /* dydxMarketAccountView.swift in Sources */,
028DB3542A05BF530090BE58 /* dydxAddressDetailsView.swift in Sources */,
02E5996128FF46B500F62F28 /* MarginUsageChange.swift in Sources */,
6453A7BB299C26DE0041A0C4 /* dydxClosePositionInputView.swift in Sources */,
02D1379D28EE452200B46941 /* UIView+SwiftUI.swift in Sources */,
Expand Down

This file was deleted.

0 comments on commit 608ed19

Please sign in to comment.