Skip to content

Commit

Permalink
Merge pull request #11457 from artsy/modernize-ios-widget
Browse files Browse the repository at this point in the history
feat: Modernize iOS widget
  • Loading branch information
jonallured authored Jan 29, 2025
2 parents c199a28 + 7a25849 commit 5023fd3
Show file tree
Hide file tree
Showing 40 changed files with 122 additions and 958 deletions.
60 changes: 2 additions & 58 deletions ios/Artsy.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
<EnvironmentVariables>
<EnvironmentVariable
key = "_XCWidgetKind"
value = ""
isEnabled = "NO">
value = "FullBleedWidget"
isEnabled = "YES">
</EnvironmentVariable>
<EnvironmentVariable
key = "_XCWidgetDefaultView"
Expand All @@ -80,8 +80,8 @@
</EnvironmentVariable>
<EnvironmentVariable
key = "_XCWidgetFamily"
value = "medium"
isEnabled = "NO">
value = "systemSmall"
isEnabled = "YES">
</EnvironmentVariable>
</EnvironmentVariables>
</LaunchAction>
Expand All @@ -91,6 +91,7 @@
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES"
askForAppToLaunch = "Yes"
launchAutomaticallySubstyle = "2">
<BuildableProductRunnable
runnableDebuggingMode = "0">
Expand Down
1 change: 0 additions & 1 deletion ios/ArtsyWidget/ArtsyWidgets.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import SwiftUI
@main
struct ArtsyWidgets: WidgetBundle {
var body: some Widget {
FeaturedArtworks.Widget()
FullBleed.Widget()
LatestArticles.Widget()
}
Expand Down
6 changes: 3 additions & 3 deletions ios/ArtsyWidget/Assets.xcassets/Contents.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"info": {
"author": "xcode",
"version": 1
"info" : {
"author" : "xcode",
"version" : 1
}
}

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
22 changes: 0 additions & 22 deletions ios/ArtsyWidget/FeaturedArtworks/FeaturedArtworks+Entry.swift

This file was deleted.

134 changes: 0 additions & 134 deletions ios/ArtsyWidget/FeaturedArtworks/FeaturedArtworks+LargeView.swift

This file was deleted.

Loading

0 comments on commit 5023fd3

Please sign in to comment.