mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-08-11 18:26:27 +10:00
dart format
This commit is contained in:
@@ -643,7 +643,6 @@ void main() {
|
||||
expect(contacts.first.path, equals(Uint8List.fromList([0x11, 0x22])));
|
||||
},
|
||||
);
|
||||
|
||||
});
|
||||
|
||||
group('AppSettingsService — gps interval fallback', () {
|
||||
|
||||
@@ -22,7 +22,8 @@ class _FakeStorageService extends StorageService {
|
||||
ContactPathHistory history,
|
||||
) async {}
|
||||
@override
|
||||
Future<ContactPathHistory?> loadPathHistory(String contactPubKeyHex) async => null;
|
||||
Future<ContactPathHistory?> loadPathHistory(String contactPubKeyHex) async =>
|
||||
null;
|
||||
@override
|
||||
Future<void> clearPathHistory(String contactPubKeyHex) async {}
|
||||
}
|
||||
@@ -76,9 +77,12 @@ Widget _buildTestApp({
|
||||
return MultiProvider(
|
||||
providers: [
|
||||
ChangeNotifierProvider<MeshCoreConnector>.value(value: connector),
|
||||
ChangeNotifierProvider<AppSettingsService>.value(value: appSettingsService),
|
||||
ChangeNotifierProvider<AppSettingsService>.value(
|
||||
value: appSettingsService,
|
||||
),
|
||||
ChangeNotifierProvider<MapTileCacheService>(
|
||||
create: (_) => MapTileCacheService(appSettingsService: appSettingsService),
|
||||
create: (_) =>
|
||||
MapTileCacheService(appSettingsService: appSettingsService),
|
||||
),
|
||||
ChangeNotifierProvider<PathHistoryService>(
|
||||
create: (_) => PathHistoryService(_FakeStorageService()),
|
||||
|
||||
Reference in New Issue
Block a user