Skip to content

Commit c2e5fdd

Browse files
committed
Improve display of identifier of installed packs in dialog
1 parent 011e8af commit c2e5fdd

File tree

9 files changed

+340
-336
lines changed

9 files changed

+340
-336
lines changed

app/android/Gemfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ GEM
1111
artifactory (3.0.17)
1212
atomos (0.1.3)
1313
aws-eventstream (1.4.0)
14-
aws-partitions (1.1162.0)
15-
aws-sdk-core (3.232.0)
14+
aws-partitions (1.1164.0)
15+
aws-sdk-core (3.233.0)
1616
aws-eventstream (~> 1, >= 1.3.0)
1717
aws-partitions (~> 1, >= 1.992.0)
1818
aws-sigv4 (~> 1.9)
1919
base64
2020
bigdecimal
2121
jmespath (~> 1, >= 1.6.1)
2222
logger
23-
aws-sdk-kms (1.112.0)
23+
aws-sdk-kms (1.113.0)
2424
aws-sdk-core (~> 3, >= 3.231.0)
2525
aws-sigv4 (~> 1.5)
2626
aws-sdk-s3 (1.199.0)
@@ -160,7 +160,7 @@ GEM
160160
httpclient (2.9.0)
161161
mutex_m
162162
jmespath (1.6.2)
163-
json (2.14.1)
163+
json (2.15.0)
164164
jwt (2.10.2)
165165
base64
166166
logger (1.7.0)

app/lib/l10n/app_en.arb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,5 +279,6 @@
279279
"pleaseLink": "Please link your account to the server using the provided link.",
280280
"singleplayer": "Singleplayer",
281281
"recentGames": "Recent games",
282-
"noRecentGames": "There are no recent games available"
282+
"noRecentGames": "There are no recent games available",
283+
"copy": "Copy"
283284
}

app/lib/pages/packs/installed.dart

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,22 @@ class _InstalledPacksViewState extends State<_InstalledPacksView> {
2424
late final SetonixFileSystem _fileSystem = context.read<SetonixFileSystem>();
2525

2626
List<Widget> _buildDetailsChildren(
27+
String key,
2728
SetonixFile pack,
2829
FileMetadata metadata,
2930
DataMetadata data,
3031
) {
3132
final locale = Localizations.localeOf(context).languageCode;
3233
final lastUsed = data.lastUsed();
3334
return [
35+
ListTile(
36+
title: Text(key),
37+
trailing: IconButton(
38+
icon: const Icon(PhosphorIconsLight.copy),
39+
tooltip: AppLocalizations.of(context).copy,
40+
onPressed: () => saveToClipboard(context, key),
41+
),
42+
),
3443
SizedBox(
3544
height: 50,
3645
child: Row(
@@ -137,8 +146,8 @@ class _InstalledPacksViewState extends State<_InstalledPacksView> {
137146
DataMetadata data,
138147
) {
139148
widget.onSelected(
140-
Text(key),
141-
_buildDetailsChildren(file, metadata, data),
149+
Text(metadata.name),
150+
_buildDetailsChildren(key, file, metadata, data),
142151
_buildActionsChildren(
143152
file.load(),
144153
onRemove: _allowRemoving(key, true) ? _removePack : null,

app/pubspec.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -588,10 +588,10 @@ packages:
588588
dependency: "direct main"
589589
description:
590590
name: go_router
591-
sha256: b1488741c9ce37b72e026377c69a59c47378493156fc38efb5a54f6def3f92a3
591+
sha256: c752e2d08d088bf83742cb05bf83003f3e9d276ff1519b5c92f9d5e60e5ddd23
592592
url: "https://pub.dev"
593593
source: hosted
594-
version: "16.2.2"
594+
version: "16.2.4"
595595
graphs:
596596
dependency: transitive
597597
description:
@@ -1167,10 +1167,10 @@ packages:
11671167
dependency: transitive
11681168
description:
11691169
name: shared_preferences_android
1170-
sha256: a2608114b1ffdcbc9c120eb71a0e207c71da56202852d4aab8a5e30a82269e74
1170+
sha256: bd14436108211b0d4ee5038689a56d4ae3620fd72fd6036e113bf1345bc74d9e
11711171
url: "https://pub.dev"
11721172
source: hosted
1173-
version: "2.4.12"
1173+
version: "2.4.13"
11741174
shared_preferences_foundation:
11751175
dependency: transitive
11761176
description:

docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@phosphor-icons/react": "^2.1.10",
1717
"@types/react": "^19.1.13",
1818
"@types/react-dom": "^19.1.9",
19-
"astro": "^5.13.9",
19+
"astro": "^5.13.11",
2020
"react": "^19.1.1",
2121
"react-dom": "^19.1.1",
2222
"remark-gemoji": "^8.0.0",
@@ -26,7 +26,7 @@
2626
"packageManager": "pnpm@10.17.0",
2727
"devDependencies": {
2828
"@vite-pwa/astro": "^1.1.0",
29-
"sass": "^1.93.0",
29+
"sass": "^1.93.2",
3030
"sharp": "^0.34.4",
3131
"vite-plugin-pwa": "^1.0.3",
3232
"workbox-window": "^7.3.0"

0 commit comments

Comments
 (0)