chore: Adjust button icon colors
This commit is contained in:
parent
6bcef04a19
commit
4429368a92
3 changed files with 6 additions and 1 deletions
|
|
@ -7,6 +7,7 @@ import 'package:desktop_drop/desktop_drop.dart';
|
||||||
import 'package:flutter_gen/gen_l10n/l10n.dart';
|
import 'package:flutter_gen/gen_l10n/l10n.dart';
|
||||||
import 'package:matrix/matrix.dart';
|
import 'package:matrix/matrix.dart';
|
||||||
|
|
||||||
|
import 'package:fluffychat/config/app_config.dart';
|
||||||
import 'package:fluffychat/config/themes.dart';
|
import 'package:fluffychat/config/themes.dart';
|
||||||
import 'package:fluffychat/pages/chat/chat.dart';
|
import 'package:fluffychat/pages/chat/chat.dart';
|
||||||
import 'package:fluffychat/pages/chat/chat_app_bar_list_tile.dart';
|
import 'package:fluffychat/pages/chat/chat_app_bar_list_tile.dart';
|
||||||
|
|
@ -114,7 +115,8 @@ class ChatView extends StatelessWidget {
|
||||||
];
|
];
|
||||||
} else if (!controller.room.isArchived) {
|
} else if (!controller.room.isArchived) {
|
||||||
return [
|
return [
|
||||||
if (Matrix.of(context).voipPlugin != null &&
|
if (AppConfig.experimentalVoip &&
|
||||||
|
Matrix.of(context).voipPlugin != null &&
|
||||||
controller.room.isDirectChat)
|
controller.room.isDirectChat)
|
||||||
IconButton(
|
IconButton(
|
||||||
onPressed: controller.onPhoneButtonTap,
|
onPressed: controller.onPhoneButtonTap,
|
||||||
|
|
|
||||||
|
|
@ -207,6 +207,8 @@ class ChatDetailsView extends StatelessWidget {
|
||||||
label: Text(L10n.of(context).setChatDescription),
|
label: Text(L10n.of(context).setChatDescription),
|
||||||
icon: const Icon(Icons.edit_outlined),
|
icon: const Icon(Icons.edit_outlined),
|
||||||
style: TextButton.styleFrom(
|
style: TextButton.styleFrom(
|
||||||
|
iconColor:
|
||||||
|
theme.colorScheme.onSecondaryContainer,
|
||||||
backgroundColor:
|
backgroundColor:
|
||||||
theme.colorScheme.secondaryContainer,
|
theme.colorScheme.secondaryContainer,
|
||||||
foregroundColor:
|
foregroundColor:
|
||||||
|
|
|
||||||
|
|
@ -99,6 +99,7 @@ class DevicesSettingsView extends StatelessWidget {
|
||||||
L10n.of(context).removeAllOtherDevices,
|
L10n.of(context).removeAllOtherDevices,
|
||||||
),
|
),
|
||||||
style: TextButton.styleFrom(
|
style: TextButton.styleFrom(
|
||||||
|
iconColor: theme.colorScheme.onErrorContainer,
|
||||||
foregroundColor:
|
foregroundColor:
|
||||||
theme.colorScheme.onErrorContainer,
|
theme.colorScheme.onErrorContainer,
|
||||||
backgroundColor:
|
backgroundColor:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue