Send later menu: use AppMenuAnchor like every other menu
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
|
|||||||
import 'package:flutter/semantics.dart';
|
import 'package:flutter/semantics.dart';
|
||||||
import 'package:flutter/services.dart';
|
import 'package:flutter/services.dart';
|
||||||
|
|
||||||
|
import '../../../ui/adaptive/app_menu_anchor.dart';
|
||||||
import '../domain/chat_send_later.dart';
|
import '../domain/chat_send_later.dart';
|
||||||
import 'chat_schedule_time.dart';
|
import 'chat_schedule_time.dart';
|
||||||
|
|
||||||
@@ -87,8 +88,9 @@ class _ChatSendLaterMenuState extends State<ChatSendLaterMenu> {
|
|||||||
);
|
);
|
||||||
final theme = Theme.of(context);
|
final theme = Theme.of(context);
|
||||||
final info = widget.info;
|
final info = widget.info;
|
||||||
return MenuAnchor(
|
return AppMenuAnchor(
|
||||||
controller: _menu,
|
controller: _menu,
|
||||||
|
builder: (context, controller, child) => child!,
|
||||||
menuChildren: [
|
menuChildren: [
|
||||||
if (info != null && info.isNotEmpty)
|
if (info != null && info.isNotEmpty)
|
||||||
Padding(
|
Padding(
|
||||||
|
|||||||
Reference in New Issue
Block a user