Skip to content

Commit

Permalink
undo-changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nehal Jaisalmeria authored and Nehal Jaisalmeria committed Dec 6, 2023
1 parent f7070f7 commit d53cf0d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .android/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
org.gradle.jvmargs=-Xmx4G
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
2 changes: 2 additions & 0 deletions .ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ platform :ios, '11.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
ENV['SWIFT_VERSION'] = '5'

project 'Runner', {
'Debug' => :debug,
Expand Down Expand Up @@ -31,6 +32,7 @@ target 'Runner' do
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))

pod 'FlutterPluginRegistrant', :path => File.join('Flutter', 'FlutterPluginRegistrant'), :inhibit_warnings => true
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '10.10.0'
end

post_install do |installer|
Expand Down
1 change: 1 addition & 0 deletions .ios/Runner/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ @implementation AppDelegate

- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[GMSServices provideAPIKey:@"AIzaSyD8vwvoaEPEgYemp1EkIETetJMvyS4Ptqk"];
[GeneratedPluginRegistrant registerWithRegistry:self];
return [super application:application didFinishLaunchingWithOptions:launchOptions];
}
Expand Down
4 changes: 2 additions & 2 deletions lib/action/bottom_modal_action.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class ShowBottomModalAction extends EnsembleAction {
enableDrag: _enableDrag(scopeManager),
showDragHandle: _enableDragHandler(scopeManager),
builder: (modalContext) =>
ContextScopeWidget(rootContext: context, child: widget!))
ContextScopeWidget(rootContext: modalContext, child: widget!))
.then((payload) {
if (onDismiss != null) {
return ScreenController().executeActionWithScope(
Expand Down Expand Up @@ -102,6 +102,6 @@ class DismissBottomModalAction extends EnsembleAction {
return Navigator.maybePop(
bottomModalContext, scopeManager.dataContext.eval(payload));
}
return Navigator.maybePop(context, scopeManager.dataContext.eval(payload));
return Future.value(null);
}
}

0 comments on commit d53cf0d

Please sign in to comment.