File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ enum HttpCacheMode {
25
25
26
26
class HttpCacheController {
27
27
// TODO: Add HTTP Cache for Windows and Linux
28
- static HttpCacheMode mode = Platform .isLinux || Platform . isWindows ? HttpCacheMode .NO_CACHE : HttpCacheMode .DEFAULT ;
28
+ static HttpCacheMode mode = Platform .isWindows ? HttpCacheMode .NO_CACHE : HttpCacheMode .DEFAULT ;
29
29
30
30
static final Map <String , HttpCacheController > _controllers = HashMap ();
31
31
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ void main() {
10
10
test ('createScrollPhysics' , () {
11
11
ScrollPhysics scrollPhysics = ScrollPhysics .createScrollPhysics ();
12
12
// In test env, that should be macos env.
13
- expect (Platform .operatingSystem, 'macos ' );
14
- expect (scrollPhysics.runtimeType.toString (), 'BouncingScrollPhysics ' );
13
+ expect (Platform .operatingSystem, 'linux ' );
14
+ expect (scrollPhysics.runtimeType.toString (), 'ClampingScrollPhysics ' );
15
15
});
16
16
17
17
test ('ScrollPhysics Factory' , () {
You can’t perform that action at this time.
0 commit comments