2025-06-25 11:08:02 -05:00
|
|
|
import 'dart:io';
|
|
|
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
2025-06-27 08:33:46 -05:00
|
|
|
import 'package:immich_mobile/extensions/translate_extensions.dart';
|
2025-06-25 11:08:02 -05:00
|
|
|
import 'package:immich_mobile/presentation/widgets/action_buttons/base_action_button.widget.dart';
|
|
|
|
|
|
|
|
class ShareActionButton extends ConsumerWidget {
|
|
|
|
const ShareActionButton({super.key});
|
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context, WidgetRef ref) {
|
|
|
|
return BaseActionButton(
|
|
|
|
iconData:
|
|
|
|
Platform.isAndroid ? Icons.share_rounded : Icons.ios_share_rounded,
|
2025-06-27 08:33:46 -05:00
|
|
|
label: 'share'.t(context: context),
|
2025-06-25 11:08:02 -05:00
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|