chore: Follow up
This commit is contained in:
parent
65fee254a8
commit
a9901795a4
2 changed files with 16 additions and 12 deletions
|
|
@ -3,7 +3,6 @@
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:fluffychat/utils/localized_exception_extension.dart';
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
import 'package:emoji_picker_flutter/emoji_picker_flutter.dart';
|
import 'package:emoji_picker_flutter/emoji_picker_flutter.dart';
|
||||||
|
|
@ -14,6 +13,7 @@ import 'package:video_player/video_player.dart';
|
||||||
import 'package:vrouter/vrouter.dart';
|
import 'package:vrouter/vrouter.dart';
|
||||||
|
|
||||||
import 'package:fluffychat/pages/story/story_view.dart';
|
import 'package:fluffychat/pages/story/story_view.dart';
|
||||||
|
import 'package:fluffychat/utils/localized_exception_extension.dart';
|
||||||
import 'package:fluffychat/utils/matrix_sdk_extensions.dart/client_stories_extension.dart';
|
import 'package:fluffychat/utils/matrix_sdk_extensions.dart/client_stories_extension.dart';
|
||||||
import 'package:fluffychat/utils/platform_infos.dart';
|
import 'package:fluffychat/utils/platform_infos.dart';
|
||||||
import 'package:fluffychat/utils/room_status_extension.dart';
|
import 'package:fluffychat/utils/room_status_extension.dart';
|
||||||
|
|
|
||||||
|
|
@ -281,17 +281,21 @@ class StoryView extends StatelessWidget {
|
||||||
bottom: 16,
|
bottom: 16,
|
||||||
left: 16,
|
left: 16,
|
||||||
right: 16,
|
right: 16,
|
||||||
child: SafeArea(
|
child: AnimatedOpacity(
|
||||||
child: Center(
|
duration: const Duration(seconds: 1),
|
||||||
child: OutlinedButton.icon(
|
opacity: controller.isHold ? 0 : 1,
|
||||||
onPressed: controller.displaySeenByUsers,
|
child: SafeArea(
|
||||||
icon: const Icon(
|
child: Center(
|
||||||
Icons.visibility_outlined,
|
child: OutlinedButton.icon(
|
||||||
color: Colors.white70,
|
onPressed: controller.displaySeenByUsers,
|
||||||
),
|
icon: const Icon(
|
||||||
label: Text(
|
Icons.visibility_outlined,
|
||||||
controller.seenByUsersTitle,
|
color: Colors.white70,
|
||||||
style: const TextStyle(color: Colors.white70),
|
),
|
||||||
|
label: Text(
|
||||||
|
controller.seenByUsersTitle,
|
||||||
|
style: const TextStyle(color: Colors.white70),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue