File tree Expand file tree Collapse file tree 6 files changed +133
-83
lines changed
Expand file tree Collapse file tree 6 files changed +133
-83
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22distributionPath =wrapper/dists
33zipStoreBase =GRADLE_USER_HOME
44zipStorePath =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
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ pluginManagement {
1818
1919plugins {
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
Original file line number Diff line number Diff 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 (
You can’t perform that action at this time.
0 commit comments