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

Pinning several sites on the same domain #46

Open
snan opened this issue Oct 1, 2022 · 1 comment
Open

Pinning several sites on the same domain #46

snan opened this issue Oct 1, 2022 · 1 comment

Comments

@snan
Copy link

snan commented Oct 1, 2022

I've had trouble pinning sites; I'm not sure but it seems that the issues are when there are sites from the same domain.

Maybe realm thinks that the domain is the key?

I'm not super hot at swift but maybe this line in PinnedSite.swift:

    @objc dynamic public var url = ""

needs to be annotated as a primary key. I know you do something similar a few lines below with a class override; again, I'm not great at Swift 🤷🏻‍♀️

The issue could also be something completely unrelated, IDK

@snan
Copy link
Author

snan commented Oct 1, 2022

Bookmarks work fine, it's just "pinned top sites" that don't.

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

No branches or pull requests

1 participant