Skip to content

Commit 48a30e5

Browse files
committed
version string matches app title color if isLatest
1 parent ffe95f3 commit 48a30e5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

lib/src/widgets/version_widget.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,10 @@ class _VersionWidgetState extends State<VersionWidget> {
485485
: TextStyle(
486486
color: _isChecking
487487
? Colors.grey
488-
: (_isLatest ? Colors.blue : Colors.red),
488+
: (_isLatest
489+
// Match app bar title color if verion=latest
490+
? Theme.of(context).textTheme.titleLarge!.color
491+
: Colors.red),
489492
fontSize: widget.fontSize,
490493
fontWeight: _isChecking
491494
? FontWeight.normal

0 commit comments

Comments
 (0)