feat(ui): Refactor context menu with platform-specific styling

feat(navigation): migrate to super_drag_and_drop for folder drag and drop
feat(ui): Add context menu preview builders for chat and notes
refactor(ui): Remove preview builders and simplify note card rendering
This commit is contained in:
cogwheel
2025-12-20 18:26:03 +05:30
parent 622dcf9142
commit 97ace86b12
13 changed files with 1032 additions and 724 deletions

View File

@@ -31,8 +31,8 @@ require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelpe
flutter_ios_podfile_setup
target 'Runner' do
# Prefer static frameworks to avoid Xcode embed-cycles with app extensions
use_frameworks! :linkage => :static
# Use dynamic frameworks for native extension compatibility
use_frameworks! :linkage => :dynamic
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
@@ -62,12 +62,15 @@ post_install do |installer|
native_target.build_configurations.each do |config|
config.build_settings['ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES'] = 'NO'
# Add -ObjC flag for objective_c package support in Release builds
# Add -ObjC and -lc++ flags for native extensions support
other_ldflags = config.build_settings['OTHER_LDFLAGS'] || ['$(inherited)']
other_ldflags = [other_ldflags] if other_ldflags.is_a?(String)
unless other_ldflags.include?('-ObjC')
other_ldflags << '-ObjC'
end
unless other_ldflags.include?('-lc++')
other_ldflags << '-lc++'
end
config.build_settings['OTHER_LDFLAGS'] = other_ldflags
end
end