fix crash in chat_screen.dart, try to resolve test error.

This commit is contained in:
ZIER committed 2026-10-13 11:19:29 +02:00
1 parent 4000c49213
commit de6632d70e
3 files changed
+43 -37

No files matched your search

+10 -11
View File
@@ -675,7 +675,16 @@ class AppSettingsScreen extends StatelessWidget {
onChanged: settingsService.setChannelMinHopsCountRepeaters,
),
],
const Divider(height: 1, indent: 16),
],
);
}
Widget _buildImageMessagesContent(
BuildContext context,
AppSettingsService settingsService,
) {
return Column(
children: [
ListTile(
contentPadding: const EdgeInsets.symmetric(
horizontal: 16,
@@ -688,16 +697,6 @@ class AppSettingsScreen extends StatelessWidget {
onTap: () => _showIpfsImageLinksDialog(context, settingsService),
),
const Divider(height: 1, indent: 16),
],
);
}
Widget _buildImageMessagesContent(
BuildContext context,
AppSettingsService settingsService,
) {
return Column(
children: [
_ScrollIntoViewOnce(
enabled: focusImageMessages,
child: SwitchListTile(