summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Providers/QSLinkdingProvider.m5
-rw-r--r--QSDeliciousPlugIn_Source.m10
2 files changed, 6 insertions, 9 deletions
diff --git a/Providers/QSLinkdingProvider.m b/Providers/QSLinkdingProvider.m
index 378ae6f..33e82bc 100644
--- a/Providers/QSLinkdingProvider.m
+++ b/Providers/QSLinkdingProvider.m
@@ -80,8 +80,11 @@
baseURL = [baseURL substringToIndex:[baseURL length] - 1];
}
+ // I'm being lazy with the limit for now. This should instead loop while
+ // there is a next, but then the caching will also need to be changed. If
+ // you have a particularly large linkding library, I apologize.
NSString *urlString =
- [NSString stringWithFormat:@"%@/api/bookmarks/", baseURL];
+ [NSString stringWithFormat:@"%@/api/bookmarks/?limit=10000", baseURL];
NSURL *requestURL = [NSURL URLWithString:urlString];
if (!requestURL) {
diff --git a/QSDeliciousPlugIn_Source.m b/QSDeliciousPlugIn_Source.m
index 49526e1..e864514 100644
--- a/QSDeliciousPlugIn_Source.m
+++ b/QSDeliciousPlugIn_Source.m
@@ -285,14 +285,8 @@
#pragma mark - Object Handler Methods
- (void)setQuickIconForObject:(QSObject *)object {
- if (@available(macOS 11.0, *)) {
- NSImage *image = [NSImage imageWithSystemSymbolName:@"tag"
- accessibilityDescription:@"Bookmark"];
- [object setIcon:image];
- } else {
- [object setIcon:[[NSBundle bundleForClass:[self class]]
- imageNamed:@"bookmark_icon"]];
- }
+ [object setIcon:[[NSBundle bundleForClass:[self class]]
+ imageNamed:@"bookmark_icon"]];
}
// All our objects will have children. URLs will have tags, and tags will have