mirror of
https://github.com/localsend/localsend.git
synced 2026-06-22 20:00:07 +00:00
feat: polish system animation fetching
This commit is contained in:
@@ -166,8 +166,11 @@ class PersistenceService {
|
||||
}
|
||||
|
||||
if (isFirstAppStart) {
|
||||
_logger.info('Is FirstStartUp');
|
||||
await prefs.setBool(_enableAnimations, await getSystemAnimationsStatus());
|
||||
final systemAnimations = await getSystemAnimationsStatus();
|
||||
if (!systemAnimations) {
|
||||
_logger.info('System animations are disabled, disabling animations in the app.');
|
||||
await prefs.setBool(_enableAnimations, false);
|
||||
}
|
||||
}
|
||||
|
||||
if (prefs.getString(_colorKey) == null) {
|
||||
|
||||
Reference in New Issue
Block a user