Skip to content

Commit

Permalink
fix: Only save if layout manager height is not null
Browse files Browse the repository at this point in the history
  • Loading branch information
bdlukaa committed Jan 28, 2025
1 parent 75bcdb7 commit a7449d6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion lib/providers/layouts_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ class LayoutsProvider extends UnityProvider {
kStorageDesktopLockedLayouts: jsonEncode(
lockedLayouts.map((l) => l.name).toList(),
),
kStorageDesktopLayoutManagerHeight: layoutManagerHeight,
if (layoutManagerHeight != null)
kStorageDesktopLayoutManagerHeight: layoutManagerHeight,
});
super.save(notifyListeners: notifyListeners);
}
Expand Down
4 changes: 2 additions & 2 deletions macos/Flutter/ephemeral/Flutter-Generated.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
FLUTTER_ROOT=/Users/user249455/Documents/development/flutter
FLUTTER_APPLICATION_PATH=/Users/user249455/Documents/GitHub/unity
COCOAPODS_PARALLEL_CODE_SIGN=true
FLUTTER_TARGET=lib/main.dart
FLUTTER_TARGET=/Users/user249455/Documents/GitHub/unity/lib/main.dart
FLUTTER_BUILD_DIR=build
FLUTTER_BUILD_NAME=3.0.022
FLUTTER_BUILD_NUMBER=3.0.022
DART_OBFUSCATION=false
TRACK_WIDGET_CREATION=true
TREE_SHAKE_ICONS=true
TREE_SHAKE_ICONS=false
PACKAGE_CONFIG=/Users/user249455/Documents/GitHub/unity/.dart_tool/package_config.json
4 changes: 2 additions & 2 deletions macos/Flutter/ephemeral/flutter_export_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
export "FLUTTER_ROOT=/Users/user249455/Documents/development/flutter"
export "FLUTTER_APPLICATION_PATH=/Users/user249455/Documents/GitHub/unity"
export "COCOAPODS_PARALLEL_CODE_SIGN=true"
export "FLUTTER_TARGET=lib/main.dart"
export "FLUTTER_TARGET=/Users/user249455/Documents/GitHub/unity/lib/main.dart"
export "FLUTTER_BUILD_DIR=build"
export "FLUTTER_BUILD_NAME=3.0.022"
export "FLUTTER_BUILD_NUMBER=3.0.022"
export "DART_OBFUSCATION=false"
export "TRACK_WIDGET_CREATION=true"
export "TREE_SHAKE_ICONS=true"
export "TREE_SHAKE_ICONS=false"
export "PACKAGE_CONFIG=/Users/user249455/Documents/GitHub/unity/.dart_tool/package_config.json"

0 comments on commit a7449d6

Please sign in to comment.