chore: Reenable archive feature after various fixes landed in sdk
This commit is contained in:
parent
1765463bd8
commit
22aa50fd02
2 changed files with 8 additions and 8 deletions
|
|
@ -1,10 +1,12 @@
|
||||||
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
|
import 'package:flutter_linkify/flutter_linkify.dart';
|
||||||
|
import 'package:matrix/matrix.dart';
|
||||||
|
|
||||||
import 'package:fluffychat/config/app_config.dart';
|
import 'package:fluffychat/config/app_config.dart';
|
||||||
import 'package:fluffychat/utils/file_description.dart';
|
import 'package:fluffychat/utils/file_description.dart';
|
||||||
import 'package:fluffychat/utils/matrix_sdk_extensions/event_extension.dart';
|
import 'package:fluffychat/utils/matrix_sdk_extensions/event_extension.dart';
|
||||||
import 'package:fluffychat/utils/url_launcher.dart';
|
import 'package:fluffychat/utils/url_launcher.dart';
|
||||||
import 'package:flutter/material.dart';
|
|
||||||
import 'package:flutter_linkify/flutter_linkify.dart';
|
|
||||||
import 'package:matrix/matrix.dart';
|
|
||||||
|
|
||||||
class MessageDownloadContent extends StatelessWidget {
|
class MessageDownloadContent extends StatelessWidget {
|
||||||
final Event event;
|
final Event event;
|
||||||
|
|
|
||||||
|
|
@ -56,18 +56,16 @@ class ClientChooserButton extends StatelessWidget {
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
// Currently disabled because of:
|
PopupMenuItem(
|
||||||
// https://github.com/matrix-org/matrix-react-sdk/pull/12286
|
|
||||||
/*PopupMenuItem(
|
|
||||||
value: SettingsAction.archive,
|
value: SettingsAction.archive,
|
||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
const Icon(Icons.archive_outlined),
|
const Icon(Icons.archive_outlined),
|
||||||
const SizedBox(width: 18),
|
const SizedBox(width: 18),
|
||||||
Text(L10n.of(context)!.archive),
|
Text(L10n.of(context).archive),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),*/
|
),
|
||||||
PopupMenuItem(
|
PopupMenuItem(
|
||||||
value: SettingsAction.settings,
|
value: SettingsAction.settings,
|
||||||
child: Row(
|
child: Row(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue