Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
StefKors committed Nov 1, 2024
1 parent 085fa1b commit 7fa60df
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 263 deletions.
3 changes: 2 additions & 1 deletion .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ disabled_rules:
- file_length
- nesting
- redundant_string_enum_value
- identifier_name
- identifier_name
- type_name
2 changes: 2 additions & 0 deletions DesktopWidgetTool/LaunchPadWidget/WrappingHStack.swift
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,14 @@ public struct WrappingHStack: Layout {

extension WrappingHStack {
struct Row {
// swiftlint:disable:next large_tuple
var elements: [(index: Int, size: CGSize, xOffset: CGFloat)] = []
var yOffset: CGFloat = .zero
var width: CGFloat = .zero
var height: CGFloat = .zero
}

// swiftlint:disable:next function_body_length
private func arrangeRows(proposal: ProposedViewSize,
subviews: Subviews,
cache: inout Cache) -> [Row] {
Expand Down
10 changes: 10 additions & 0 deletions GitLab.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1318,6 +1318,7 @@
buildRules = (
);
dependencies = (
8A858F162CD4FAF90024795D /* PBXTargetDependency */,
);
name = DesktopWidgetToolExtension;
packageProductDependencies = (
Expand Down Expand Up @@ -1963,6 +1964,10 @@
target = 8A5FC0F526EFD08E004136AB /* GitLab */;
targetProxy = 8A5FC11726EFD08F004136AB /* PBXContainerItemProxy */;
};
8A858F162CD4FAF90024795D /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
productRef = 8A858F152CD4FAF90024795D /* SwiftLintBuildToolPlugin */;
};
8AD9D9E92CD4F0B600BE229B /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
productRef = 8AD9D9E82CD4F0B600BE229B /* SwiftLintBuildToolPlugin */;
Expand Down Expand Up @@ -2705,6 +2710,11 @@
package = 8AF80DD82A5581B700819B80 /* XCRemoteSwiftPackageReference "CachedAsyncImage" */;
productName = CachedAsyncImage;
};
8A858F152CD4FAF90024795D /* SwiftLintBuildToolPlugin */ = {
isa = XCSwiftPackageProductDependency;
package = 8AD9D9E72CD4F05600BE229B /* XCRemoteSwiftPackageReference "SwiftLintPlugins" */;
productName = "plugin:SwiftLintBuildToolPlugin";
};
8AD9D9E82CD4F0B600BE229B /* SwiftLintBuildToolPlugin */ = {
isa = XCSwiftPackageProductDependency;
package = 8AD9D9E72CD4F05600BE229B /* XCRemoteSwiftPackageReference "SwiftLintPlugins" */;
Expand Down
247 changes: 0 additions & 247 deletions GitLab/PopoverResize.swift

This file was deleted.

13 changes: 0 additions & 13 deletions GitLab/UserDefaultsStorage.swift

This file was deleted.

2 changes: 1 addition & 1 deletion Shared/UserInterface/Models/NetworkManagerGitLab.swift
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class NetworkManagerGitLab {
}

func fetch(with account: Account) async throws {
/// Parallel?
// Parallel?
// await fetchLatestBranchPush()
// try await fetchAuthoredMergeRequests(with: account)
// try await fetchReviewRequestedMergeRequests(with: account)
Expand Down
2 changes: 1 addition & 1 deletion Shared/UserInterface/SwiftData/LaunchpadState.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import SwiftData
var url: URL
var hasUpdatedSinceLaunch: Bool

static func ==(lhs: LaunchpadRepo, rhs: LaunchpadRepo) -> Bool {
static func == (lhs: LaunchpadRepo, rhs: LaunchpadRepo) -> Bool {
return lhs.id == rhs.id
}

Expand Down

0 comments on commit 7fa60df

Please sign in to comment.