Skip to content
This repository was archived by the owner on Apr 3, 2025. It is now read-only.

Commit 52fd7fc

Browse files
committed
feat(changelog): do not show changelog on first boot of new installs
[skip ci]
1 parent 64d66c9 commit 52fd7fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/main.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,14 @@ class _State extends State<LunaOS> {
132132

133133
Future<void> _healthCheck() async {
134134
final isLatest = LunaBuild().isLatestBuildVersion();
135+
final firstBoot = BIOSDatabase.FIRST_BOOT.read();
135136

136137
if (BIOSDatabase.DATABASE_CORRUPTION.read()) {
137138
DatabaseCorruptionSheet().show();
138139
BIOSDatabase.DATABASE_CORRUPTION.update(false);
139140
}
140141

141-
if (!isLatest.item1) {
142+
if (!firstBoot && !isLatest.item1) {
142143
ChangelogSheet().show();
143144
}
144145
}

0 commit comments

Comments
 (0)