new: more battery data & fix: auto reload

This commit is contained in:
lollipopkit
2023-12-20 17:26:04 +08:00
parent 7283c968ae
commit 4a93b326db
26 changed files with 247 additions and 147 deletions

View File

@@ -29,7 +29,7 @@ class TagBtn extends StatelessWidget {
Text(
content,
textAlign: TextAlign.center,
style: isEnable ? UIs.textSize13 : UIs.textSize13Grey,
style: isEnable ? UIs.text13 : UIs.text13Grey,
),
onTap: onTap,
);
@@ -106,7 +106,7 @@ class _TagEditorState extends State<TagEditor> {
Text(
'#$tag',
textAlign: TextAlign.center,
style: isAdd ? UIs.textSize13Grey : UIs.textSize13,
style: isAdd ? UIs.text13Grey : UIs.text13,
),
const SizedBox(width: 4.0),
Icon(

View File

@@ -14,12 +14,12 @@ class TwoLineText extends StatelessWidget {
children: [
Text(
up,
style: UIs.textSize15,
style: UIs.text15,
overflow: TextOverflow.ellipsis,
),
Text(
down,
style: UIs.textSize11,
style: UIs.text11,
overflow: TextOverflow.ellipsis,
)
],