Skip to content

Commit

Permalink
🐛 Fix state issue with TapToCopyButton
Browse files Browse the repository at this point in the history
^ABY-15 stage Staging work Development 10m
  • Loading branch information
alicerunsonfedora committed Mar 2, 2022
1 parent 4fd541a commit 996e081
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 58 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## [1.1.2] - 02-03-2022
- Resolves a bug where, in single sniglet mode, the sniglet always appears as "empty" (ABY-15).

## [1.1.1] - 26-02-2022

Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ authors:
- family-names: "Kurt"
given-names: "Marquis"
title: "Give Me A Sniglet!"
version: 1.1.1
date-released: 2022-02-26
version: 1.1.2
date-released: 2022-03-02
url: "https://apple.co/336C4oX"
license: MPL-2.0
repository-code: "https://github.com/alicerunsonfedora/sniglet"
32 changes: 16 additions & 16 deletions Give Me a Sniglet.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = "App Entitlements/Give Me a Sniglet (iOS).entitlements";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 11;
CURRENT_PROJECT_VERSION = 12;
DEVELOPMENT_TEAM = FQQXSP79X3;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
Expand All @@ -1010,7 +1010,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.1.1;
MARKETING_VERSION = 1.1.2;
PRODUCT_BUNDLE_IDENTIFIER = net.marquiskurt.abysima;
PRODUCT_NAME = "Give Me a Sniglet";
SDKROOT = iphoneos;
Expand All @@ -1029,7 +1029,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = "App Entitlements/Give Me a Sniglet (iOS).entitlements";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 11;
CURRENT_PROJECT_VERSION = 12;
DEVELOPMENT_TEAM = FQQXSP79X3;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
Expand All @@ -1046,7 +1046,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.1.1;
MARKETING_VERSION = 1.1.2;
PRODUCT_BUNDLE_IDENTIFIER = net.marquiskurt.abysima;
PRODUCT_NAME = "Give Me a Sniglet";
SDKROOT = iphoneos;
Expand All @@ -1064,7 +1064,7 @@
ASSETCATALOG_COMPILER_COMPLICATION_NAME = "";
CODE_SIGN_ENTITLEMENTS = "App Entitlements/Watch WatchKit Extension.entitlements";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 11;
CURRENT_PROJECT_VERSION = 12;
DEVELOPMENT_ASSET_PATHS = "\"Platforms/Watch WatchKit Extension/Preview Content\"";
DEVELOPMENT_TEAM = FQQXSP79X3;
ENABLE_PREVIEWS = YES;
Expand All @@ -1077,7 +1077,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.1.1;
MARKETING_VERSION = 1.1.2;
PRODUCT_BUNDLE_IDENTIFIER = net.marquiskurt.abysima.watchkitapp.watchkitextension;
PRODUCT_NAME = "${TARGET_NAME}";
SDKROOT = watchos;
Expand All @@ -1095,7 +1095,7 @@
ASSETCATALOG_COMPILER_COMPLICATION_NAME = "";
CODE_SIGN_ENTITLEMENTS = "App Entitlements/Watch WatchKit Extension.entitlements";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 11;
CURRENT_PROJECT_VERSION = 12;
DEVELOPMENT_ASSET_PATHS = "\"Platforms/Watch WatchKit Extension/Preview Content\"";
DEVELOPMENT_TEAM = FQQXSP79X3;
ENABLE_PREVIEWS = YES;
Expand All @@ -1108,7 +1108,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.1.1;
MARKETING_VERSION = 1.1.2;
PRODUCT_BUNDLE_IDENTIFIER = net.marquiskurt.abysima.watchkitapp.watchkitextension;
PRODUCT_NAME = "${TARGET_NAME}";
SDKROOT = watchos;
Expand All @@ -1128,14 +1128,14 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 11;
CURRENT_PROJECT_VERSION = 12;
DEVELOPMENT_TEAM = FQQXSP79X3;
GENERATE_INFOPLIST_FILE = YES;
IBSC_MODULE = Watch_WatchKit_Extension;
INFOPLIST_KEY_CFBundleDisplayName = Watch;
INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
INFOPLIST_KEY_WKCompanionAppBundleIdentifier = net.marquiskurt.abysima;
MARKETING_VERSION = 1.1.1;
MARKETING_VERSION = 1.1.2;
PRODUCT_BUNDLE_IDENTIFIER = net.marquiskurt.abysima.watchkitapp;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = watchos;
Expand All @@ -1154,14 +1154,14 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 11;
CURRENT_PROJECT_VERSION = 12;
DEVELOPMENT_TEAM = FQQXSP79X3;
GENERATE_INFOPLIST_FILE = YES;
IBSC_MODULE = Watch_WatchKit_Extension;
INFOPLIST_KEY_CFBundleDisplayName = Watch;
INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
INFOPLIST_KEY_WKCompanionAppBundleIdentifier = net.marquiskurt.abysima;
MARKETING_VERSION = 1.1.1;
MARKETING_VERSION = 1.1.2;
PRODUCT_BUNDLE_IDENTIFIER = net.marquiskurt.abysima.watchkitapp;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = watchos;
Expand All @@ -1181,7 +1181,7 @@
ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground;
CODE_SIGN_ENTITLEMENTS = "App Entitlements/Sniglet WidgetExtension.entitlements";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 11;
CURRENT_PROJECT_VERSION = 12;
DEVELOPMENT_TEAM = FQQXSP79X3;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "Platforms/Sniglet Widget/Info.plist";
Expand All @@ -1193,7 +1193,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.1.1;
MARKETING_VERSION = 1.1.2;
PRODUCT_BUNDLE_IDENTIFIER = net.marquiskurt.abysima.widgets;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
Expand All @@ -1212,7 +1212,7 @@
ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground;
CODE_SIGN_ENTITLEMENTS = "App Entitlements/Sniglet WidgetExtension.entitlements";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 11;
CURRENT_PROJECT_VERSION = 12;
DEVELOPMENT_TEAM = FQQXSP79X3;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "Platforms/Sniglet Widget/Info.plist";
Expand All @@ -1224,7 +1224,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.1.1;
MARKETING_VERSION = 1.1.2;
PRODUCT_BUNDLE_IDENTIFIER = net.marquiskurt.abysima.widgets;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,16 @@
debugServiceExtension = "internal"
allowLocationSimulation = "YES"
launchAutomaticallySubstyle = "32">
<RemoteRunnable
runnableDebuggingMode = "2"
BundleIdentifier = "com.apple.Carousel"
RemotePath = "/Watch">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9590D51227A9798300F51F10"
BuildableName = "Watch.app"
BlueprintName = "Watch"
ReferencedContainer = "container:Give Me a Sniglet.xcodeproj">
</BuildableReference>
</RemoteRunnable>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand All @@ -75,27 +73,16 @@
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES"
launchAutomaticallySubstyle = "32">
<RemoteRunnable
runnableDebuggingMode = "2"
BundleIdentifier = "com.apple.Carousel"
RemotePath = "/Watch">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9590D51227A9798300F51F10"
BuildableName = "Watch.app"
BlueprintName = "Watch"
ReferencedContainer = "container:Give Me a Sniglet.xcodeproj">
</BuildableReference>
</RemoteRunnable>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9590D51227A9798300F51F10"
BuildableName = "Watch.app"
BlueprintName = "Watch"
ReferencedContainer = "container:Give Me a Sniglet.xcodeproj">
</BuildableReference>
</MacroExpansion>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,46 +54,33 @@
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<RemoteRunnable
runnableDebuggingMode = "2"
BundleIdentifier = "com.apple.Carousel"
RemotePath = "/Watch">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9590D51227A9798300F51F10"
BuildableName = "Watch.app"
BlueprintName = "Watch"
ReferencedContainer = "container:Give Me a Sniglet.xcodeproj">
</BuildableReference>
</RemoteRunnable>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<RemoteRunnable
runnableDebuggingMode = "2"
BundleIdentifier = "com.apple.Carousel"
RemotePath = "/Watch">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9590D51227A9798300F51F10"
BuildableName = "Watch.app"
BlueprintName = "Watch"
ReferencedContainer = "container:Give Me a Sniglet.xcodeproj">
</BuildableReference>
</RemoteRunnable>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9590D51227A9798300F51F10"
BuildableName = "Watch.app"
BlueprintName = "Watch"
ReferencedContainer = "container:Give Me a Sniglet.xcodeproj">
</BuildableReference>
</MacroExpansion>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
Expand Down
2 changes: 1 addition & 1 deletion Shared/Views/Components/TapToCopyButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import SwiftUI

struct TapToCopyButton: View {

@State var word: String
var word: String
@State private var showCopyToast: Bool = false

var body: some View {
Expand Down

0 comments on commit 996e081

Please sign in to comment.