Skip to content

Commit 1be53d7

Browse files
committed
updated flutter
1 parent 198bf44 commit 1be53d7

File tree

6 files changed

+133
-83
lines changed

6 files changed

+133
-83
lines changed

android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-all.zip

android/settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pluginManagement {
1818

1919
plugins {
2020
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
21-
id "com.android.application" version "8.6.0" apply false
21+
id "com.android.application" version "8.11.1" apply false
2222
id "org.jetbrains.kotlin.android" version "2.1.0" apply false
2323
}
2424

flutter

Submodule flutter updated 2827 files

lib/views/uploaders.dart

Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ class _MyUploaderState extends State<Uploaders> {
237237
final parsedUrl = shareType == 'http'
238238
? removeProtocol((shareData['share'] as Share).uploaderUrl)
239239
: removeProtocol((shareData['share'] as NetworkShare).domain);
240+
final bool isPgp = share is Share && (share.pgpPublicKey != null && share.pgpPublicKey!.isNotEmpty);
240241

241242
return GestureDetector(
242243
onLongPress: () {
@@ -300,16 +301,32 @@ class _MyUploaderState extends State<Uploaders> {
300301
leading: shareType == 'http'
301302
? buildFaviconImage((share as Share).uploaderUrl)
302303
: buildFaviconImage((share as NetworkShare).domain ?? ""),
303-
title: Text(
304-
parsedUrl,
305-
overflow: TextOverflow.ellipsis,
306-
style: TextStyle(
307-
fontSize: 16,
308-
color: (share is Share && share.selectedUploader) || (share is NetworkShare && (share.selected ?? false))
309-
? Colors.blueAccent
310-
: null,
304+
title: Row(
305+
children: [
306+
Expanded(
307+
child: Text(
308+
parsedUrl,
309+
overflow: TextOverflow.ellipsis,
310+
style: TextStyle(
311+
fontSize: 16,
312+
color: (share is Share && share.selectedUploader) ||
313+
(share is NetworkShare && (share.selected))
314+
? Colors.blueAccent
315+
: null,
316+
),
317+
),
318+
),
319+
320+
if (isPgp) ...[
321+
const SizedBox(width: 6),
322+
const Icon(
323+
Icons.lock,
324+
size: 18,
325+
color: Colors.amber,
326+
),
327+
],
328+
],
311329
),
312-
),
313330
subtitle: share is Share
314331
? Text(
315332
AppLocalizations.of(context)!.upload_method_and_type(

0 commit comments

Comments
 (0)