Skip to content

Commit

Permalink
fix: multiple ui issues (#87)
Browse files Browse the repository at this point in the history
* fix AddTokenView

* fix missing password field background

* bump version
  • Loading branch information
joeldavidw authored Jan 17, 2025
1 parent 1f78352 commit dd78d5e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Chronos.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 17.2;
MARKETING_VERSION = 17.3;
PRODUCT_BUNDLE_IDENTIFIER = com.joeldavidw.ChronosDevDebug;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -932,7 +932,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 17.2;
MARKETING_VERSION = 17.3;
PRODUCT_BUNDLE_IDENTIFIER = com.joeldavidw.ChronosDevRelease;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -1257,7 +1257,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 17.2;
MARKETING_VERSION = 17.3;
PRODUCT_BUNDLE_IDENTIFIER = com.joeldavidw.Chronos;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ struct EncryptedExportConfirmPasswordView: View {
}
}
.frame(height: 48)
.background(Color(.systemGray6))
.background(Color(.systemGray5))
.cornerRadius(8)

if !isPasswordValid {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ struct EncryptedExportPasswordView: View {
}
}
.frame(height: 48)
.background(Color(.systemGray6))
.background(Color(.systemGray5))
.cornerRadius(8)

Spacer()
Expand Down
4 changes: 3 additions & 1 deletion Chronos/App/Tabs/Tokens/TokensTab.swift
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ struct TokensTab: View {
AddTokenView()
.getSheetHeight()
.onPreferenceChange(SheetHeightPreferenceKey.self) { height in
self.detentHeight = height
Task { @MainActor in
self.detentHeight = height
}
}
.presentationDetents([.height(self.detentHeight)])
}
Expand Down

0 comments on commit dd78d5e

Please sign in to comment.