mirror of
https://github.com/wgh136/pixes.git
synced 2025-09-27 21:07:24 +00:00
fix ui
This commit is contained in:
@@ -139,9 +139,7 @@ class DownloadingTask {
|
|||||||
return matches.map((match) => match.group(1)!).toList();
|
return matches.map((match) => match.group(1)!).toList();
|
||||||
}
|
}
|
||||||
var tags = extractTags(subPathPatten);
|
var tags = extractTags(subPathPatten);
|
||||||
print(illust.tags);
|
|
||||||
for(var tag in tags) {
|
for(var tag in tags) {
|
||||||
print(tag);
|
|
||||||
if (illust.tags.where((e) => e.name == tag || e.translatedName == tag).isNotEmpty) {
|
if (illust.tags.where((e) => e.name == tag || e.translatedName == tag).isNotEmpty) {
|
||||||
subPathPatten = subPathPatten.replaceAll("\${tag($tag)}", tag);
|
subPathPatten = subPathPatten.replaceAll("\${tag($tag)}", tag);
|
||||||
}
|
}
|
||||||
|
@@ -6,6 +6,7 @@ import "package:flutter/material.dart" as md;
|
|||||||
import "package:pixes/appdata.dart";
|
import "package:pixes/appdata.dart";
|
||||||
import "package:pixes/components/md.dart";
|
import "package:pixes/components/md.dart";
|
||||||
import "package:pixes/foundation/app.dart";
|
import "package:pixes/foundation/app.dart";
|
||||||
|
import "package:pixes/foundation/image_provider.dart";
|
||||||
import "package:pixes/network/network.dart";
|
import "package:pixes/network/network.dart";
|
||||||
import "package:pixes/pages/bookmarks.dart";
|
import "package:pixes/pages/bookmarks.dart";
|
||||||
import "package:pixes/pages/downloaded_page.dart";
|
import "package:pixes/pages/downloaded_page.dart";
|
||||||
@@ -465,7 +466,7 @@ class UserPane extends PaneItem {
|
|||||||
child: Image(
|
child: Image(
|
||||||
height: 48,
|
height: 48,
|
||||||
width: 48,
|
width: 48,
|
||||||
image: NetworkImage(appdata.account!.user.profile),
|
image: CachedImageProvider(appdata.account!.user.profile),
|
||||||
fit: BoxFit.fill,
|
fit: BoxFit.fill,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user