dart format

This commit is contained in:
ericz
2026-08-04 17:27:51 +02:00
parent 2879bf6147
commit b15f6450bd
6 changed files with 18 additions and 24 deletions
-1
View File
@@ -643,7 +643,6 @@ void main() {
expect(contacts.first.path, equals(Uint8List.fromList([0x11, 0x22])));
},
);
});
group('AppSettingsService — gps interval fallback', () {
+7 -3
View File
@@ -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()),