Commit 87ba8699 authored by John McCutchan's avatar John McCutchan Committed by GitHub

Don't try to update the cache if locking is disabled (#6258)

parent f11bb25b
......@@ -175,6 +175,8 @@ class Cache {
}
Future<Null> updateAll() async {
if (!_lockEnabled)
return null;
MaterialFonts materialFonts = new MaterialFonts(cache);
if (!materialFonts.isUpToDate())
await materialFonts.download();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment