Skip to content

Commit

Permalink
Merge pull request #28 from koji-1009/fix
Browse files Browse the repository at this point in the history
Fix
  • Loading branch information
koji-1009 authored Dec 29, 2022
2 parents 5e31962 + ae95fd2 commit d916b04
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions lib/view/home/history/history_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,38 +44,8 @@ class HistoryWidget extends ConsumerWidget {
itemBuilder: (context, index) {
final history = histories[index];
return Card(
<<<<<<< Updated upstream
child: ListTile(
title: Text('ワード: ${history.params.any}'),
subtitle: Text(
_formatter.format(history.updatedAt),
),
trailing: IconButton(
icon: const Icon(Icons.more_vert),
onPressed: () {
showDialog(
context: context,
builder: (context) => SimpleDialog(
title: const Text('オプション'),
children: [
SimpleDialogOption(
child: const Text('削除'),
onPressed: () {
// delete
box.delete(history.indexKey);

Navigator.of(context).pop();
},
)
],
),
);
},
),
=======
clipBehavior: Clip.hardEdge,
child: InkWell(
>>>>>>> Stashed changes
onTap: () {
context.pushNamed(
SearchSpeechScreen.screenName,
Expand Down

0 comments on commit d916b04

Please sign in to comment.