Skip to content

Commit

Permalink
❇️ release 1.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ookamitai committed Aug 24, 2024
1 parent 1866aae commit c3363ab
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 12 deletions.
12 changes: 7 additions & 5 deletions Fundoshi/Fundoshi.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
attributes = {
BuildIndependentTargetsInParallel = 1;
LastSwiftUpdateCheck = 1520;
LastUpgradeCheck = 1600;
LastUpgradeCheck = 1610;
TargetAttributes = {
FBC5E8312B8A024000C2A459 = {
CreatedOnToolsVersion = 15.2;
Expand Down Expand Up @@ -233,6 +233,7 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
Expand Down Expand Up @@ -298,6 +299,7 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
Expand Down Expand Up @@ -361,7 +363,7 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 35;
CURRENT_PROJECT_VERSION = 57;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_ASSET_PATHS = "\"Fundoshi/Preview Content\"";
DEVELOPMENT_TEAM = "$(inherited)";
Expand All @@ -379,7 +381,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 14.0;
MARKETING_VERSION = 1.3.3;
MARKETING_VERSION = 1.3.4;
PRODUCT_BUNDLE_IDENTIFIER = com.ookamitai.Fundoshi;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "$(inherited)";
Expand All @@ -398,7 +400,7 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 35;
CURRENT_PROJECT_VERSION = 57;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_ASSET_PATHS = "\"Fundoshi/Preview Content\"";
DEVELOPMENT_TEAM = "$(inherited)";
Expand All @@ -415,7 +417,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 14.0;
MARKETING_VERSION = 1.3.3;
MARKETING_VERSION = 1.3.4;
PRODUCT_BUNDLE_IDENTIFIER = com.ookamitai.Fundoshi;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "$(inherited)";
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,11 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1600"
LastUpgradeVersion = "1610"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES"
buildArchitectures = "Automatic">
<PostActions>
<ExecutionAction
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
<ActionContent
title = "Run Script"
scriptText = "cd &quot;${PROJECT_DIR}&quot;; agvtool bump&#10;">
<EnvironmentBuildable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "FBC5E8312B8A024000C2A459"
BuildableName = "Fundoshi.app"
BlueprintName = "Fundoshi"
ReferencedContainer = "container:Fundoshi.xcodeproj">
</BuildableReference>
</EnvironmentBuildable>
</ActionContent>
</ExecutionAction>
</PostActions>
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
Expand Down
2 changes: 1 addition & 1 deletion Fundoshi/Fundoshi/AppConfig.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func arrayBuildString(_ h: [Int]) -> String {
for i in h {
s += (String(i) + ",")
}
let _ = s.popLast()
s.removeLast()
return s
}

Expand Down
12 changes: 7 additions & 5 deletions Fundoshi/Fundoshi/MenuView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public struct CustomCompactSliderStyle: CompactSliderStyle {
}

public extension CompactSliderStyle where Self == CustomCompactSliderStyle {
static var `custom`: CustomCompactSliderStyle { CustomCompactSliderStyle() }
static var `test`: CustomCompactSliderStyle { CustomCompactSliderStyle() }
}


Expand Down Expand Up @@ -73,9 +73,10 @@ struct MenuView: View {
}
.frame(maxWidth: showCustomTime ? 300 : .infinity)
.onChange(of: doubleHelper) { _, newValue in
appState.timerOn = false
audioPlayer = try! AVAudioPlayer(contentsOf: URL(fileURLWithPath: Bundle.main.path(forResource: "tick", ofType: "caf")!))
audioPlayer.play()
if doubleHelper == 61.0 {
if doubleHelper >= 61.0 {
audioPlayer = try! AVAudioPlayer(contentsOf: URL(fileURLWithPath: Bundle.main.path(forResource: "extra", ofType: "caf")!))
audioPlayer.play()
showCustomTime = true
Expand All @@ -90,13 +91,14 @@ struct MenuView: View {
}
}
.onAppear {
doubleHelper = Double(setTime / 60)
doubleHelper = setTime / 60 >= 60 ? 61.0 : Double(setTime / 60)
}
.animation(.default, value: showCustomTime)
.compactSliderStyle(.custom)
.compactSliderStyle(.test)

TextField("", text: $tmp)
.onChange(of: tmp) {
appState.timerOn = false
setTime = (Int(tmp) ?? 1) * 60
timeSec = setTime
timeString = buildString(secs: setTime)
Expand Down Expand Up @@ -279,7 +281,7 @@ struct MenuView: View {
.opacity(imageClockOpacity)
.frame(width: 150, height: 150)
.offset(x: 60, y: 60)
.blur(radius: 2)
.blur(radius: 8)
.shadow(radius: 3)
.animation(.default, value: imageClockOpacity)
}
Expand Down

0 comments on commit c3363ab

Please sign in to comment.