Merge upstream/dev (28 commits) [upstream-sync]

This commit is contained in:
upstream-sync-bot committed 2026-11-04 04:51:26 +00:00
commit 596e7f9dcd
44 files changed
+1444 -38

No files matched your search

+7
View File
@@ -450,6 +450,13 @@ void main() {
expect(AppSettings.fromJson(saved).loadLinkImages, isFalse);
});
test('online map links default on and round-trip through JSON', () {
expect(AppSettings().mapShowOnlineLinks, isTrue);
expect(AppSettings.fromJson({}).mapShowOnlineLinks, isTrue);
final saved = AppSettings(mapShowOnlineLinks: false).toJson();
expect(AppSettings.fromJson(saved).mapShowOnlineLinks, isFalse);
});
test('show link images by default is off and round-trips', () {
expect(AppSettings().showLinkImagesByDefault, isFalse);
expect(AppSettings.fromJson({}).showLinkImagesByDefault, isFalse);