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