mirror of
https://github.com/immich-app/immich.git
synced 2024-12-25 10:43:13 +02:00
chore(mobile): share logo platform consistency (#3290)
This commit is contained in:
parent
b34f4345e1
commit
436a2e9bf3
@ -412,7 +412,11 @@ class GalleryViewerPage extends HookConsumerWidget {
|
|||||||
showUnselectedLabels: false,
|
showUnselectedLabels: false,
|
||||||
items: [
|
items: [
|
||||||
BottomNavigationBarItem(
|
BottomNavigationBarItem(
|
||||||
icon: const Icon(Icons.ios_share_rounded),
|
icon: Icon(
|
||||||
|
Platform.isAndroid
|
||||||
|
? Icons.share_rounded
|
||||||
|
: Icons.ios_share_rounded,
|
||||||
|
),
|
||||||
label: 'control_bottom_app_bar_share'.tr(),
|
label: 'control_bottom_app_bar_share'.tr(),
|
||||||
tooltip: 'control_bottom_app_bar_share'.tr(),
|
tooltip: 'control_bottom_app_bar_share'.tr(),
|
||||||
),
|
),
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:easy_localization/easy_localization.dart';
|
import 'package:easy_localization/easy_localization.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
||||||
@ -39,7 +41,9 @@ class ControlBottomAppBar extends ConsumerWidget {
|
|||||||
return Row(
|
return Row(
|
||||||
children: [
|
children: [
|
||||||
ControlBoxButton(
|
ControlBoxButton(
|
||||||
iconData: Icons.ios_share_rounded,
|
iconData: Platform.isAndroid
|
||||||
|
? Icons.share_rounded
|
||||||
|
: Icons.ios_share_rounded,
|
||||||
label: "control_bottom_app_bar_share".tr(),
|
label: "control_bottom_app_bar_share".tr(),
|
||||||
onPressed: enabled ? onShare : null,
|
onPressed: enabled ? onShare : null,
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user