Skip to content

Commit b50dd6e

Browse files
committed
Fix repos not being added when no repos exist
1 parent 1bdcfc7 commit b50dd6e

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

sm_osx.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@
375375
"$(inherited)",
376376
"@executable_path/../Frameworks",
377377
);
378-
MARKETING_VERSION = 1.2.5;
378+
MARKETING_VERSION = 1.2.6.1;
379379
ONLY_ACTIVE_ARCH = NO;
380380
PRODUCT_BUNDLE_IDENTIFIER = "com.CubingStudios.sm-osx";
381381
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -407,7 +407,7 @@
407407
"$(inherited)",
408408
"@executable_path/../Frameworks",
409409
);
410-
MARKETING_VERSION = 1.2.5;
410+
MARKETING_VERSION = 1.2.6.1;
411411
ONLY_ACTIVE_ARCH = NO;
412412
PRODUCT_BUNDLE_IDENTIFIER = "com.CubingStudios.sm-osx";
413413
PRODUCT_NAME = "$(TARGET_NAME)";

sm_osx/GlobalFunctions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import UniformTypeIdentifiers
1010
import AppKit
1111

1212
struct CurrentVersion {
13-
public let currentVersion = "v1.2.6\n"
13+
public let currentVersion = "v1.2.6.1\n"
1414
}
1515

1616
public func isArm() -> Bool {

sm_osx/LauncherView.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -235,10 +235,7 @@ struct LauncherView: View {
235235
}
236236
}
237237
}
238-
}.padding().sheet(isPresented: $repoView) {
239-
RepoView(repoView: $repoView)
240-
.frame(minWidth: 650, idealWidth: 750, maxWidth: 850, minHeight: 400, idealHeight: 500, maxHeight: 550)
241-
}
238+
}.padding()
242239
}
243240
else {
244241

@@ -401,6 +398,9 @@ struct LauncherView: View {
401398
}
402399

403400
Button("Not now", role: .cancel) {}
401+
}.sheet(isPresented: $repoView) {
402+
RepoView(repoView: $repoView)
403+
.frame(minWidth: 650, idealWidth: 750, maxWidth: 850, minHeight: 400, idealHeight: 500, maxHeight: 550)
404404
}.sheet(isPresented: $crashStatus) {
405405
CrashView(beginLogging: $beginLogging, crashStatus: $crashStatus, index: $crashIndex)
406406
}.sheet(isPresented: $beginLogging) {

0 commit comments

Comments
 (0)