Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement global shortcuts default value in SwiftUI Mode #395

Merged
merged 2 commits into from
Feb 9, 2024

Conversation

CanglongCl
Copy link
Collaborator

No description provided.

Copy link
Owner

@tisfeng tisfeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@tisfeng tisfeng merged commit cba185d into tisfeng:dev Feb 9, 2024
5 checks passed
@AkaShark
Copy link
Collaborator

AkaShark commented Feb 9, 2024

No, we can't set the default for global shortcut default using Defaults because it will cause this problem. Remove the global shortcut at first, and rebuild the app, that removed global shortcut will appear again.

@AkaShark
Copy link
Collaborator

AkaShark commented Feb 9, 2024

CleanShot.2024-02-09.at.20.42.38.mp4

@CanglongCl CanglongCl deleted the default-value-shortcut branch February 9, 2024 20:57
@CanglongCl
Copy link
Collaborator Author

CleanShot.2024-02-09.at.20.42.38.mp4

You are right. It is a old issue in Defaults.

I'll revert it.

@CanglongCl
Copy link
Collaborator Author

CleanShot.2024-02-09.at.20.42.38.mp4

BTW in release 2.6.0 it works well. I'm not sure why.

@tisfeng
Copy link
Owner

tisfeng commented Feb 10, 2024

I opened a new issue to track shortcuts bugs #399

tisfeng added a commit that referenced this pull request Feb 13, 2024
* fix: default value in short cut

* refactor: delete unused file

* Revert "refactor: delete unused file"

This reverts commit 3a2d734.

* Revert "fix: default value in short cut"

This reverts commit fdfe495.

* Add default shortcut

* split `setDefaultForAppShortcut` into 2 method

* fix: default value in short cut

* refactor: delete unused file

* Revert "refactor: delete unused file"

This reverts commit 3a2d734.

* Revert "fix: default value in short cut"

This reverts commit fdfe495.

* Add default shortcut

* split `setDefaultForAppShortcut` into 2 method

* Revert "chore: update issue templates"

This reverts commit 033e391.

* fix: correct default global shortcut keys

---------

Co-authored-by: tisfeng <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants