Hide view status toggle in style view

This commit is contained in:
Kelrap 2026-01-23 12:08:32 -05:00
parent e8a5a21931
commit beb07940a3

View file

@ -5,7 +5,6 @@ import 'package:flutter/material.dart';
import 'package:dynamic_color/dynamic_color.dart';
import 'package:matrix/matrix.dart';
import 'package:fluffychat/config/setting_keys.dart';
import 'package:fluffychat/config/themes.dart';
import 'package:fluffychat/l10n/l10n.dart';
import 'package:fluffychat/pages/chat/events/state_message.dart';
@ -16,7 +15,6 @@ import 'package:fluffychat/widgets/layouts/max_width_body.dart';
import 'package:fluffychat/widgets/matrix.dart';
import 'package:fluffychat/widgets/mxc_image.dart';
import '../../config/app_config.dart';
import '../../widgets/settings_switch_list_tile.dart';
import 'settings_style.dart';
class SettingsStyleView extends StatelessWidget {
@ -335,25 +333,25 @@ class SettingsStyleView extends StatelessWidget {
semanticFormatterCallback: (d) => d.toString(),
onChanged: controller.changeFontSizeFactor,
),
Divider(
color: theme.dividerColor,
),
ListTile(
title: Text(
L10n.of(context).overview,
style: TextStyle(
color: theme.colorScheme.secondary,
fontWeight: FontWeight.bold,
),
),
),
SettingsSwitchListTile.adaptive(
title: L10n.of(context).presencesToggle,
onChanged: (b) => AppConfig.showPresences = b,
storeKey: SettingKeys.showPresences,
defaultValue: AppConfig.showPresences,
),
// #Pangea
// Divider(
// color: theme.dividerColor,
// ),
// ListTile(
// title: Text(
// L10n.of(context).overview,
// style: TextStyle(
// color: theme.colorScheme.secondary,
// fontWeight: FontWeight.bold,
// ),
// ),
// ),
// SettingsSwitchListTile.adaptive(
// title: L10n.of(context).presencesToggle,
// onChanged: (b) => AppConfig.showPresences = b,
// storeKey: SettingKeys.showPresences,
// defaultValue: AppConfig.showPresences,
// ),
// SettingsSwitchListTile.adaptive(
// title: L10n.of(context).separateChatTypes,
// onChanged: (b) => AppConfig.separateChatTypes = b,