feat: share server via qrcode (#530)

This commit is contained in:
lollipopkit🏳️‍⚧️
2024-08-13 20:04:01 +08:00
committed by GitHub
parent fe566e97ca
commit 46d5840276
13 changed files with 291 additions and 208 deletions

View File

@@ -123,6 +123,11 @@ class _ServerDetailPageState extends State<ServerDetailPage>
return CustomAppBar(
title: Text(si.spi.name),
actions: [
ShareBtn(
data: widget.spi.toJsonString(),
tip: widget.spi.name,
tip2: '${libL10n.share} ${l10n.server} ~ ServerBox',
),
IconButton(
icon: const Icon(Icons.edit),
onPressed: () async {