mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-06-06 13:59:19 +08:00
Fix windows title may become empty
This commit is contained in:
@@ -323,7 +323,8 @@ void setCurrentTitle(String title, int primaryColor,
|
||||
if (!isPrefix && includePrefix && _prefix != null) {
|
||||
title = "$_prefix - $title";
|
||||
}
|
||||
if (usePrefix && _prefix != null) {
|
||||
if (usePrefix) {
|
||||
if (_prefix == null) return;
|
||||
title = _prefix!;
|
||||
}
|
||||
if (_currentTitle != null && title == _currentTitle) return;
|
||||
|
||||
Reference in New Issue
Block a user