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(
|
return _AccountTile(
|
||||||
account: account,
|
account: account,
|
||||||
trailing: IconButton(
|
trailing: IconButton(
|
||||||
icon: const Icon(Icons.logout),
|
icon: const Icon(Icons.logout_outlined),
|
||||||
tooltip: L10n.global().deleteTooltip,
|
tooltip: L10n.global().deleteTooltip,
|
||||||
onPressed: () async {
|
onPressed: () async {
|
||||||
final result = await showDialog<bool>(
|
final result = await showDialog<bool>(
|
||||||
|
@ -423,7 +423,7 @@ class _NewAccountView extends StatelessWidget {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return _IconTile(
|
return _IconTile(
|
||||||
icon: const Icon(Icons.add),
|
icon: const Icon(Icons.add_outlined),
|
||||||
title: Text(L10n.global().addServerTooltip),
|
title: Text(L10n.global().addServerTooltip),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Navigator.of(context)
|
Navigator.of(context)
|
||||||
|
|
|
@ -34,7 +34,7 @@ class _AppBar extends StatelessWidget {
|
||||||
if (canShare)
|
if (canShare)
|
||||||
IconButton(
|
IconButton(
|
||||||
onPressed: () => _onSharePressed(context),
|
onPressed: () => _onSharePressed(context),
|
||||||
icon: const Icon(Icons.share),
|
icon: const Icon(Icons.share_outlined),
|
||||||
tooltip: L10n.global().shareTooltip,
|
tooltip: L10n.global().shareTooltip,
|
||||||
),
|
),
|
||||||
if (state.collection.isPendingSharedAlbum)
|
if (state.collection.isPendingSharedAlbum)
|
||||||
|
@ -349,7 +349,7 @@ class _EditAppBar extends StatelessWidget {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
leading: IconButton(
|
leading: IconButton(
|
||||||
icon: const Icon(Icons.check),
|
icon: const Icon(Icons.check_outlined),
|
||||||
color: Theme.of(context).colorScheme.primary,
|
color: Theme.of(context).colorScheme.primary,
|
||||||
tooltip: L10n.global().doneButtonTooltip,
|
tooltip: L10n.global().doneButtonTooltip,
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
|
@ -359,13 +359,13 @@ class _EditAppBar extends StatelessWidget {
|
||||||
actions: [
|
actions: [
|
||||||
if (capabilitiesAdapter.isPermitted(CollectionCapability.labelItem))
|
if (capabilitiesAdapter.isPermitted(CollectionCapability.labelItem))
|
||||||
IconButton(
|
IconButton(
|
||||||
icon: const Icon(Icons.text_fields),
|
icon: const Icon(Icons.text_fields_outlined),
|
||||||
tooltip: L10n.global().albumAddTextTooltip,
|
tooltip: L10n.global().albumAddTextTooltip,
|
||||||
onPressed: () => _onAddTextPressed(context),
|
onPressed: () => _onAddTextPressed(context),
|
||||||
),
|
),
|
||||||
if (capabilitiesAdapter.isPermitted(CollectionCapability.sort))
|
if (capabilitiesAdapter.isPermitted(CollectionCapability.sort))
|
||||||
IconButton(
|
IconButton(
|
||||||
icon: const Icon(Icons.sort_by_alpha),
|
icon: const Icon(Icons.sort_by_alpha_outlined),
|
||||||
tooltip: L10n.global().sortTooltip,
|
tooltip: L10n.global().sortTooltip,
|
||||||
onPressed: () => _onSortPressed(context),
|
onPressed: () => _onSortPressed(context),
|
||||||
),
|
),
|
||||||
|
|
|
@ -205,7 +205,7 @@ class _EnhancedPhotoBrowserState extends State<EnhancedPhotoBrowser>
|
||||||
},
|
},
|
||||||
actions: [
|
actions: [
|
||||||
IconButton(
|
IconButton(
|
||||||
icon: const Icon(Icons.share),
|
icon: const Icon(Icons.share_outlined),
|
||||||
tooltip: L10n.global().shareTooltip,
|
tooltip: L10n.global().shareTooltip,
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
_onSelectionSharePressed(context);
|
_onSelectionSharePressed(context);
|
||||||
|
|
|
@ -98,7 +98,7 @@ class _TitleView extends StatelessWidget {
|
||||||
size: 16,
|
size: 16,
|
||||||
)
|
)
|
||||||
: Icon(
|
: Icon(
|
||||||
Icons.https,
|
Icons.https_outlined,
|
||||||
color: Theme.of(context).colorScheme.primary,
|
color: Theme.of(context).colorScheme.primary,
|
||||||
size: 16,
|
size: 16,
|
||||||
),
|
),
|
||||||
|
|
|
@ -108,7 +108,7 @@ class _SelectionAppBar extends StatelessWidget {
|
||||||
},
|
},
|
||||||
actions: [
|
actions: [
|
||||||
IconButton(
|
IconButton(
|
||||||
icon: const Icon(Icons.delete),
|
icon: const Icon(Icons.delete_outlined),
|
||||||
tooltip: L10n.global().deleteTooltip,
|
tooltip: L10n.global().deleteTooltip,
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
context.addEvent(const _RemoveSelectedItems());
|
context.addEvent(const _RemoveSelectedItems());
|
||||||
|
|
|
@ -228,12 +228,12 @@ class _HomeSearchState extends State<HomeSearch>
|
||||||
},
|
},
|
||||||
actions: [
|
actions: [
|
||||||
IconButton(
|
IconButton(
|
||||||
icon: const Icon(Icons.share),
|
icon: const Icon(Icons.share_outlined),
|
||||||
tooltip: L10n.global().shareTooltip,
|
tooltip: L10n.global().shareTooltip,
|
||||||
onPressed: () => _onSelectionSharePressed(context),
|
onPressed: () => _onSelectionSharePressed(context),
|
||||||
),
|
),
|
||||||
IconButton(
|
IconButton(
|
||||||
icon: const Icon(Icons.add),
|
icon: const Icon(Icons.add_outlined),
|
||||||
tooltip: L10n.global().addItemToCollectionTooltip,
|
tooltip: L10n.global().addItemToCollectionTooltip,
|
||||||
onPressed: () => _onSelectionAddToAlbumPressed(context),
|
onPressed: () => _onSelectionAddToAlbumPressed(context),
|
||||||
),
|
),
|
||||||
|
@ -297,7 +297,7 @@ class _HomeSearchState extends State<HomeSearch>
|
||||||
IconButton(
|
IconButton(
|
||||||
onPressed: _onSearchPressed,
|
onPressed: _onSearchPressed,
|
||||||
tooltip: L10n.global().searchTooltip,
|
tooltip: L10n.global().searchTooltip,
|
||||||
icon: const Icon(Icons.search),
|
icon: const Icon(Icons.search_outlined),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
bottom: _isShowLanding(state)
|
bottom: _isShowLanding(state)
|
||||||
|
|
|
@ -123,7 +123,7 @@ class _LocalFileViewerState extends State<LocalFileViewer> {
|
||||||
elevation: 0,
|
elevation: 0,
|
||||||
actions: [
|
actions: [
|
||||||
IconButton(
|
IconButton(
|
||||||
icon: const Icon(Icons.share),
|
icon: const Icon(Icons.share_outlined),
|
||||||
tooltip: L10n.global().shareTooltip,
|
tooltip: L10n.global().shareTooltip,
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
_onSharePressed(context);
|
_onSharePressed(context);
|
||||||
|
|
|
@ -132,7 +132,7 @@ class _TrashbinBrowserState extends State<TrashbinBrowser>
|
||||||
),
|
),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: EmptyListIndicator(
|
child: EmptyListIndicator(
|
||||||
icon: Icons.delete_outline,
|
icon: Icons.delete_outlined,
|
||||||
text: L10n.global().listEmptyText,
|
text: L10n.global().listEmptyText,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue