• Greg Spencer's avatar
    Revert usages of the binding's platformDispatcher to use window instead (#70319) · 86f9ab51
    Greg Spencer authored
    This reverts usages of the binding's platformDispatcher to use window again temporarily, because there isn't a TestPlatformDispatcher yet, and so some tests were failing because they mocked the TestWindow to return certain things (locales) that were returning the real values instead of the test values.
    
    Once I've created a TestPlatformDispatcher to allow fake data to be passed to it, we can go back to using the platformDispatcher in all of these places
    86f9ab51
binding.dart 17.7 KB