Skip to content

Commit 4c15c76

Browse files
committed
ios color crash fix
1 parent 3cd2892 commit 4c15c76

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

ios/Classes/FluttertoastPlugin.m

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,7 @@ - (void)handleMethodCall:(FlutterMethodCall *)call result:(FlutterResult)result
3838
NSString *durationTime = call.arguments[@"time"];
3939
NSNumber *bgcolor = call.arguments[@"bgcolor"];
4040
NSNumber *textcolor = call.arguments[@"textcolor"];
41-
42-
NSLog(@"BG %d", bgcolor);
43-
NSLog(@"TC %d", textcolor);
4441

45-
4642
int time = 1;
4743
@try {
4844
time = [durationTime intValue];

lib/fluttertoast.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ class Fluttertoast {
3535
gravityToast = "bottom";
3636
}
3737

38-
print(backgroundColor);
39-
print(textColor);
40-
4138
if(backgroundColor == null && defaultTargetPlatform == TargetPlatform.iOS) {
4239
backgroundColor = Colors.black;
4340
}

0 commit comments

Comments
 (0)