Merge upstream/dev (28 commits) [upstream-sync]
This commit is contained in:
commit
596e7f9dcd
44 files changed
+1444
-38
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user