Little refactor
This commit is contained in:
@@ -167,7 +167,8 @@ class _HomeScreenState extends State<HomeScreen> {
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
// If you're touching ( you doing this rignt now ) this file, STOP IMEDIATLY! This is violiating TeamKomet code revision policy!
|
||||
// If you're touching ( you doing this rignt now ) this file, AND DONT WANT TO STOP! REFACTOR IT IMMEDIATLY TO MAKE SOME SENSE AND DONT LOOK LIKE SHIT BY AI
|
||||
Future<void> _checkVersionInBackground() async {
|
||||
try {
|
||||
final prefs = await SharedPreferences.getInstance();
|
||||
@@ -178,7 +179,8 @@ class _HomeScreenState extends State<HomeScreen> {
|
||||
if (!isWebVersionCheckEnabled) {
|
||||
print("Web version checking is disabled, skipping check");
|
||||
return;
|
||||
}
|
||||
}// If you're touching ( you doing this rignt now ) this file, STOP IMEDIATLY! This is violiating TeamKomet code revision policy!
|
||||
// If you're touching ( you doing this rignt now ) this file, AND DONT WANT TO STOP! REFACTOR IT IMMEDIATLY TO MAKE SOME SENSE AND DONT LOOK LIKE SHIT BY AI
|
||||
|
||||
final isAutoUpdateEnabled = prefs.getBool('auto_update_enabled') ?? false;
|
||||
final showUpdateNotification =
|
||||
|
||||
Reference in New Issue
Block a user