Skip to content

Commit

Permalink
Small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
planecore committed Feb 13, 2024
1 parent bbdd9b6 commit d57c3cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 2 additions & 6 deletions ios/BetterRail.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
901A3C9F2AC077CE004D68D6 /* stationsData.json in Resources */ = {isa = PBXBuildFile; fileRef = C1F61C0C2709F08200CD3D44 /* stationsData.json */; };
901A3CA02AC077CE004D68D6 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = C1B3FCF5271EEFFA000F33AE /* Localizable.strings */; };
901A3CA12AC077CE004D68D6 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C1F61C242709F09B00CD3D44 /* Assets.xcassets */; };
901A3CA22AC077CE004D68D6 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C1A802682747AB4D00A3073D /* Assets.xcassets */; };
9044B0722B7BDB2A009915C1 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C1A802682747AB4D00A3073D /* Assets.xcassets */; };
90466CCE2AC60A4B00F9966E /* ViewUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90466CCC2AC60A4B00F9966E /* ViewUtils.swift */; };
90466CCF2AC60A4B00F9966E /* ViewUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90466CCC2AC60A4B00F9966E /* ViewUtils.swift */; };
90506C442AE70A9B007E6505 /* HTMLString in Frameworks */ = {isa = PBXBuildFile; productRef = 90506C432AE70A9B007E6505 /* HTMLString */; };
Expand Down Expand Up @@ -81,7 +81,6 @@
908634392AC08AF300C44F40 /* WidgetUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 908634382AC08AF300C44F40 /* WidgetUtils.swift */; };
9086343A2AC08AF300C44F40 /* WidgetUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 908634382AC08AF300C44F40 /* WidgetUtils.swift */; };
90C7F8922A2096880011E3F9 /* Activity.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1F140A929F1416100968904 /* Activity.swift */; };
90DC44BF2AC85AFE001A0BBF /* WatchInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 90DC44BE2AC85AFE001A0BBF /* WatchInfo.plist */; };
C0F707F834D839B5724738A3 /* ExpoModulesProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = BC587A60DAEFAB1B12DF76C7 /* ExpoModulesProvider.swift */; };
C102DF9E2764FD6600A756B6 /* WidgetLargeScheduleView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C102DF9D2764FD6600A756B6 /* WidgetLargeScheduleView.swift */; };
C1286B51275E6C8300E1E05D /* RNBetterRail.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1286B50275E6C8300E1E05D /* RNBetterRail.swift */; };
Expand Down Expand Up @@ -891,8 +890,7 @@
901A3C9F2AC077CE004D68D6 /* stationsData.json in Resources */,
901A3CA02AC077CE004D68D6 /* Localizable.strings in Resources */,
901A3CA12AC077CE004D68D6 /* Assets.xcassets in Resources */,
90DC44BF2AC85AFE001A0BBF /* WatchInfo.plist in Resources */,
901A3CA22AC077CE004D68D6 /* Assets.xcassets in Resources */,
9044B0722B7BDB2A009915C1 /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -1465,7 +1463,6 @@
"DEVELOPMENT_TEAM[sdk=watchos*]" = UE6BVYPPFX;
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = BetterRailWidget/WatchInfo.plist;
IPHONEOS_DEPLOYMENT_TARGET = 16.2;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -1515,7 +1512,6 @@
"DEVELOPMENT_TEAM[sdk=watchos*]" = UE6BVYPPFX;
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = BetterRailWidget/WatchInfo.plist;
IPHONEOS_DEPLOYMENT_TARGET = 16.2;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down
4 changes: 2 additions & 2 deletions ios/BetterRailWidget/Views/WidgetBackground.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ struct WidgetBackground: View {

var body: some View {
ZStack {
if let stationImage = image {
Image(stationImage)
if let image {
Image(image)
.resizable()
.aspectRatio(contentMode: .fill)
.frame(maxHeight: 170)
Expand Down

0 comments on commit d57c3cd

Please sign in to comment.