mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 07:47:24 +00:00
improve ui
This commit is contained in:
@@ -178,7 +178,7 @@ class _MyAppState extends State<MyApp> {
|
||||
var lastCheck = appdata.implicitData['lastCheckUpdate'] ?? 0;
|
||||
var now = DateTime.now().millisecondsSinceEpoch;
|
||||
if(now - lastCheck < 24 * 60 * 60 * 1000) {
|
||||
// return;
|
||||
return;
|
||||
}
|
||||
appdata.implicitData['lastCheckUpdate'] = now;
|
||||
appdata.writeImplicitData();
|
||||
|
@@ -454,10 +454,10 @@ class _ComicSourceListState extends State<_ComicSourceList> {
|
||||
itemBuilder: (context, index) {
|
||||
var key = json![index]["key"];
|
||||
var action = currentKey.contains(key)
|
||||
? const Icon(Icons.check, size: 22).paddingRight(8)
|
||||
? const Icon(Icons.check, size: 20).paddingRight(8)
|
||||
: Tooltip(
|
||||
message: "Add",
|
||||
child: IconButton(
|
||||
child: Button.icon(
|
||||
color: context.colorScheme.primary,
|
||||
icon: const Icon(Icons.add),
|
||||
onPressed: () async {
|
||||
|
@@ -499,9 +499,11 @@ packages:
|
||||
lodepng_flutter:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
path: "C:\\Users\\wgh19\\IdeaProjects\\lodepng_flutter"
|
||||
relative: false
|
||||
source: path
|
||||
path: "."
|
||||
ref: HEAD
|
||||
resolved-ref: c9584f890f54c26b98ca4f465a2346024a528b31
|
||||
url: "https://github.com/venera-app/lodepng_flutter"
|
||||
source: git
|
||||
version: "0.0.1"
|
||||
matcher:
|
||||
dependency: transitive
|
||||
|
Reference in New Issue
Block a user