mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-08-30 22:50:50 +02:00
offline options globally toggleable
This commit is contained in:
@@ -41,8 +41,11 @@ void main() {
|
||||
mockAppState = MockAppState();
|
||||
AppState.instance = mockAppState;
|
||||
|
||||
// Default stubs: online, no offline areas
|
||||
// Default stubs: online, no offline areas, offline features enabled
|
||||
// (so tests exercise the same behavior as before this setting existed)
|
||||
when(() => mockAppState.offlineMode).thenReturn(false);
|
||||
when(() => mockAppState.offlineFeaturesEnabled).thenReturn(true);
|
||||
|
||||
|
||||
provider = DeflockTileProvider(
|
||||
providerId: 'openstreetmap',
|
||||
|
||||
Reference in New Issue
Block a user