mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 06:46:22 +01:00
Replace some filled icon with outlined
This commit is contained in:
parent
48c16a9e9b
commit
4ca70ced94
8 changed files with 14 additions and 14 deletions
|
@ -376,7 +376,7 @@ class _AccountView extends StatelessWidget {
|
|||
return _AccountTile(
|
||||
account: account,
|
||||
trailing: IconButton(
|
||||
icon: const Icon(Icons.logout),
|
||||
icon: const Icon(Icons.logout_outlined),
|
||||
tooltip: L10n.global().deleteTooltip,
|
||||
onPressed: () async {
|
||||
final result = await showDialog<bool>(
|
||||
|
@ -423,7 +423,7 @@ class _NewAccountView extends StatelessWidget {
|
|||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return _IconTile(
|
||||
icon: const Icon(Icons.add),
|
||||
icon: const Icon(Icons.add_outlined),
|
||||
title: Text(L10n.global().addServerTooltip),
|
||||
onTap: () {
|
||||
Navigator.of(context)
|
||||
|
|
|
@ -34,7 +34,7 @@ class _AppBar extends StatelessWidget {
|
|||
if (canShare)
|
||||
IconButton(
|
||||
onPressed: () => _onSharePressed(context),
|
||||
icon: const Icon(Icons.share),
|
||||
icon: const Icon(Icons.share_outlined),
|
||||
tooltip: L10n.global().shareTooltip,
|
||||
),
|
||||
if (state.collection.isPendingSharedAlbum)
|
||||
|
@ -349,7 +349,7 @@ class _EditAppBar extends StatelessWidget {
|
|||
),
|
||||
),
|
||||
leading: IconButton(
|
||||
icon: const Icon(Icons.check),
|
||||
icon: const Icon(Icons.check_outlined),
|
||||
color: Theme.of(context).colorScheme.primary,
|
||||
tooltip: L10n.global().doneButtonTooltip,
|
||||
onPressed: () {
|
||||
|
@ -359,13 +359,13 @@ class _EditAppBar extends StatelessWidget {
|
|||
actions: [
|
||||
if (capabilitiesAdapter.isPermitted(CollectionCapability.labelItem))
|
||||
IconButton(
|
||||
icon: const Icon(Icons.text_fields),
|
||||
icon: const Icon(Icons.text_fields_outlined),
|
||||
tooltip: L10n.global().albumAddTextTooltip,
|
||||
onPressed: () => _onAddTextPressed(context),
|
||||
),
|
||||
if (capabilitiesAdapter.isPermitted(CollectionCapability.sort))
|
||||
IconButton(
|
||||
icon: const Icon(Icons.sort_by_alpha),
|
||||
icon: const Icon(Icons.sort_by_alpha_outlined),
|
||||
tooltip: L10n.global().sortTooltip,
|
||||
onPressed: () => _onSortPressed(context),
|
||||
),
|
||||
|
|
|
@ -205,7 +205,7 @@ class _EnhancedPhotoBrowserState extends State<EnhancedPhotoBrowser>
|
|||
},
|
||||
actions: [
|
||||
IconButton(
|
||||
icon: const Icon(Icons.share),
|
||||
icon: const Icon(Icons.share_outlined),
|
||||
tooltip: L10n.global().shareTooltip,
|
||||
onPressed: () {
|
||||
_onSelectionSharePressed(context);
|
||||
|
|
|
@ -98,7 +98,7 @@ class _TitleView extends StatelessWidget {
|
|||
size: 16,
|
||||
)
|
||||
: Icon(
|
||||
Icons.https,
|
||||
Icons.https_outlined,
|
||||
color: Theme.of(context).colorScheme.primary,
|
||||
size: 16,
|
||||
),
|
||||
|
|
|
@ -108,7 +108,7 @@ class _SelectionAppBar extends StatelessWidget {
|
|||
},
|
||||
actions: [
|
||||
IconButton(
|
||||
icon: const Icon(Icons.delete),
|
||||
icon: const Icon(Icons.delete_outlined),
|
||||
tooltip: L10n.global().deleteTooltip,
|
||||
onPressed: () {
|
||||
context.addEvent(const _RemoveSelectedItems());
|
||||
|
|
|
@ -228,12 +228,12 @@ class _HomeSearchState extends State<HomeSearch>
|
|||
},
|
||||
actions: [
|
||||
IconButton(
|
||||
icon: const Icon(Icons.share),
|
||||
icon: const Icon(Icons.share_outlined),
|
||||
tooltip: L10n.global().shareTooltip,
|
||||
onPressed: () => _onSelectionSharePressed(context),
|
||||
),
|
||||
IconButton(
|
||||
icon: const Icon(Icons.add),
|
||||
icon: const Icon(Icons.add_outlined),
|
||||
tooltip: L10n.global().addItemToCollectionTooltip,
|
||||
onPressed: () => _onSelectionAddToAlbumPressed(context),
|
||||
),
|
||||
|
@ -297,7 +297,7 @@ class _HomeSearchState extends State<HomeSearch>
|
|||
IconButton(
|
||||
onPressed: _onSearchPressed,
|
||||
tooltip: L10n.global().searchTooltip,
|
||||
icon: const Icon(Icons.search),
|
||||
icon: const Icon(Icons.search_outlined),
|
||||
),
|
||||
],
|
||||
bottom: _isShowLanding(state)
|
||||
|
|
|
@ -123,7 +123,7 @@ class _LocalFileViewerState extends State<LocalFileViewer> {
|
|||
elevation: 0,
|
||||
actions: [
|
||||
IconButton(
|
||||
icon: const Icon(Icons.share),
|
||||
icon: const Icon(Icons.share_outlined),
|
||||
tooltip: L10n.global().shareTooltip,
|
||||
onPressed: () {
|
||||
_onSharePressed(context);
|
||||
|
|
|
@ -132,7 +132,7 @@ class _TrashbinBrowserState extends State<TrashbinBrowser>
|
|||
),
|
||||
Expanded(
|
||||
child: EmptyListIndicator(
|
||||
icon: Icons.delete_outline,
|
||||
icon: Icons.delete_outlined,
|
||||
text: L10n.global().listEmptyText,
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue