This commit is contained in:
lollipopkit
2024-04-26 20:11:03 +08:00
parent 3237d9eb21
commit ece74d7552
9 changed files with 67 additions and 66 deletions

View File

@@ -125,6 +125,10 @@ void _onTapMoreBtns(
);
break;
case ServerFuncBtn.snippet:
if (Pros.snippet.snippets.isEmpty) {
context.showSnackBar(l10n.noSavedSnippet);
return;
}
final snippets = await context.showPickWithTagDialog<Snippet>(
tags: Pros.snippet.tags,
itemsBuilder: (e) {