Code improvements

This commit is contained in:
Juan Gilsanz Polo
2025-04-03 22:08:28 +02:00
parent badc2b8904
commit 09fda86e61
4 changed files with 2701 additions and 1556 deletions

View File

@@ -8,7 +8,9 @@
], ],
}, },
"cSpell.words": [ "cSpell.words": [
"Linkdy", "gstatic",
"linkdy" "Linkding",
"linkdy",
"Linkdy"
] ]
} }

View File

@@ -6,5 +6,5 @@ class Urls {
static const linkdingRepo = "https://github.com/sissbruecker/linkding"; static const linkdingRepo = "https://github.com/sissbruecker/linkding";
static const support = "https://appsupport.jgeek00.com"; static const support = "https://appsupport.jgeek00.com";
static gstatic(url) => static gstatic(url) =>
"https://t2.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=${url}&size=16"; "https://t2.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=$url&size=16";
} }

File diff suppressed because it is too large Load Diff

View File

@@ -8,10 +8,10 @@ class DeleteBookmarkModal extends StatelessWidget {
final void Function(Bookmark) onDelete; final void Function(Bookmark) onDelete;
const DeleteBookmarkModal({ const DeleteBookmarkModal({
Key? key, super.key,
required this.bookmark, required this.bookmark,
required this.onDelete, required this.onDelete,
}) : super(key: key); });
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {