forked from Cutlery/immich
		
	chore(web): better action button consistency (#3633)
Co-authored-by: Alex Tran <Alex.Tran@conductix.com>
This commit is contained in:
		
							parent
							
								
									a6eb227330
								
							
						
					
					
						commit
						f4475549d6
					
				@ -54,6 +54,12 @@ class ControlBottomAppBar extends ConsumerWidget {
 | 
				
			|||||||
            label: "control_bottom_app_bar_share".tr(),
 | 
					            label: "control_bottom_app_bar_share".tr(),
 | 
				
			||||||
            onPressed: enabled ? onShare : null,
 | 
					            onPressed: enabled ? onShare : null,
 | 
				
			||||||
          ),
 | 
					          ),
 | 
				
			||||||
 | 
					          if (hasRemote)
 | 
				
			||||||
 | 
					            ControlBoxButton(
 | 
				
			||||||
 | 
					              iconData: Icons.archive,
 | 
				
			||||||
 | 
					              label: "control_bottom_app_bar_archive".tr(),
 | 
				
			||||||
 | 
					              onPressed: enabled ? onArchive : null,
 | 
				
			||||||
 | 
					            ),
 | 
				
			||||||
          if (hasRemote)
 | 
					          if (hasRemote)
 | 
				
			||||||
            ControlBoxButton(
 | 
					            ControlBoxButton(
 | 
				
			||||||
              iconData: Icons.favorite_border_rounded,
 | 
					              iconData: Icons.favorite_border_rounded,
 | 
				
			||||||
@ -89,12 +95,6 @@ class ControlBottomAppBar extends ConsumerWidget {
 | 
				
			|||||||
                      )
 | 
					                      )
 | 
				
			||||||
                  : null,
 | 
					                  : null,
 | 
				
			||||||
            ),
 | 
					            ),
 | 
				
			||||||
          if (hasRemote)
 | 
					 | 
				
			||||||
            ControlBoxButton(
 | 
					 | 
				
			||||||
              iconData: Icons.archive,
 | 
					 | 
				
			||||||
              label: "control_bottom_app_bar_archive".tr(),
 | 
					 | 
				
			||||||
              onPressed: enabled ? onArchive : null,
 | 
					 | 
				
			||||||
            ),
 | 
					 | 
				
			||||||
        ],
 | 
					        ],
 | 
				
			||||||
      );
 | 
					      );
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user