Add a setting to show link images in all chats by default
'Show link images in all chats by default' (default off) applies to every channel and contact without an explicit per-chat choice: the per-chat setting is now unset/on/off and resolves to perChat ?? default. The 'Load images from links' master switch still overrides it.
This commit is contained in:
1 parent
79e3668c18
commit
a4670a9275
30 files changed
+330
-16
No files matched your search
@@ -332,6 +332,10 @@ class AppSettingsService extends ChangeNotifier {
|
||||
await updateSettings(_settings.copyWith(loadLinkImages: value));
|
||||
}
|
||||
|
||||
Future<void> setShowLinkImagesByDefault(bool value) async {
|
||||
await updateSettings(_settings.copyWith(showLinkImagesByDefault: value));
|
||||
}
|
||||
|
||||
Future<void> setIpfsImageSettings({
|
||||
required String publicGateway,
|
||||
required String uploadGateway,
|
||||
|
||||
Reference in new issue
Block a user