Open snan opened 1 year ago
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:
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
Bookmarks work fine, it's just "pinned top sites" that don't.
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
: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