mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-04 03:39:37 -05:00 
			
		
		
		
	chore(mobile): Add text to bottom gallery bar (#11417)
This commit is contained in:
		
							parent
							
								
									3408e6b3cb
								
							
						
					
					
						commit
						13741410a7
					
				@ -33,7 +33,7 @@
 | 
				
			|||||||
  "album_viewer_appbar_share_err_remove": "There are problems in removing assets from album",
 | 
					  "album_viewer_appbar_share_err_remove": "There are problems in removing assets from album",
 | 
				
			||||||
  "album_viewer_appbar_share_err_title": "Failed to change album title",
 | 
					  "album_viewer_appbar_share_err_title": "Failed to change album title",
 | 
				
			||||||
  "album_viewer_appbar_share_leave": "Leave album",
 | 
					  "album_viewer_appbar_share_leave": "Leave album",
 | 
				
			||||||
  "album_viewer_appbar_share_remove": "Remove from album",
 | 
					  "album_viewer_appbar_share_remove": "Remove",
 | 
				
			||||||
  "album_viewer_appbar_share_to": "Share To",
 | 
					  "album_viewer_appbar_share_to": "Share To",
 | 
				
			||||||
  "album_viewer_page_share_add_users": "Add users",
 | 
					  "album_viewer_page_share_add_users": "Add users",
 | 
				
			||||||
  "all_people_page_title": "People",
 | 
					  "all_people_page_title": "People",
 | 
				
			||||||
@ -159,6 +159,7 @@
 | 
				
			|||||||
  "control_bottom_app_bar_delete_from_local": "Delete from device",
 | 
					  "control_bottom_app_bar_delete_from_local": "Delete from device",
 | 
				
			||||||
  "control_bottom_app_bar_edit_location": "Edit Location",
 | 
					  "control_bottom_app_bar_edit_location": "Edit Location",
 | 
				
			||||||
  "control_bottom_app_bar_edit_time": "Edit Date & Time",
 | 
					  "control_bottom_app_bar_edit_time": "Edit Date & Time",
 | 
				
			||||||
 | 
					  "control_bottom_app_bar_edit": "Edit",
 | 
				
			||||||
  "control_bottom_app_bar_favorite": "Favorite",
 | 
					  "control_bottom_app_bar_favorite": "Favorite",
 | 
				
			||||||
  "control_bottom_app_bar_share": "Share",
 | 
					  "control_bottom_app_bar_share": "Share",
 | 
				
			||||||
  "control_bottom_app_bar_share_to": "Share To",
 | 
					  "control_bottom_app_bar_share_to": "Share To",
 | 
				
			||||||
 | 
				
			|||||||
@ -72,7 +72,7 @@ class BottomGalleryBar extends ConsumerWidget {
 | 
				
			|||||||
      ),
 | 
					      ),
 | 
				
			||||||
      if (asset.isImage)
 | 
					      if (asset.isImage)
 | 
				
			||||||
        BottomNavigationBarItem(
 | 
					        BottomNavigationBarItem(
 | 
				
			||||||
          icon: const Icon(Icons.edit_outlined),
 | 
					          icon: const Icon(Icons.tune_outlined),
 | 
				
			||||||
          label: 'control_bottom_app_bar_edit'.tr(),
 | 
					          label: 'control_bottom_app_bar_edit'.tr(),
 | 
				
			||||||
          tooltip: 'control_bottom_app_bar_edit'.tr(),
 | 
					          tooltip: 'control_bottom_app_bar_edit'.tr(),
 | 
				
			||||||
        ),
 | 
					        ),
 | 
				
			||||||
@ -94,7 +94,7 @@ class BottomGalleryBar extends ConsumerWidget {
 | 
				
			|||||||
          label: 'control_bottom_app_bar_stack'.tr(),
 | 
					          label: 'control_bottom_app_bar_stack'.tr(),
 | 
				
			||||||
          tooltip: 'control_bottom_app_bar_stack'.tr(),
 | 
					          tooltip: 'control_bottom_app_bar_stack'.tr(),
 | 
				
			||||||
        ),
 | 
					        ),
 | 
				
			||||||
      if (isOwner)
 | 
					      if (isOwner && !isInAlbum)
 | 
				
			||||||
        BottomNavigationBarItem(
 | 
					        BottomNavigationBarItem(
 | 
				
			||||||
          icon: const Icon(Icons.delete_outline),
 | 
					          icon: const Icon(Icons.delete_outline),
 | 
				
			||||||
          label: 'control_bottom_app_bar_delete'.tr(),
 | 
					          label: 'control_bottom_app_bar_delete'.tr(),
 | 
				
			||||||
@ -391,10 +391,22 @@ class BottomGalleryBar extends ConsumerWidget {
 | 
				
			|||||||
              backgroundColor: Colors.black.withOpacity(0.4),
 | 
					              backgroundColor: Colors.black.withOpacity(0.4),
 | 
				
			||||||
              unselectedIconTheme: const IconThemeData(color: Colors.white),
 | 
					              unselectedIconTheme: const IconThemeData(color: Colors.white),
 | 
				
			||||||
              selectedIconTheme: const IconThemeData(color: Colors.white),
 | 
					              selectedIconTheme: const IconThemeData(color: Colors.white),
 | 
				
			||||||
              unselectedLabelStyle: const TextStyle(color: Colors.black),
 | 
					              unselectedLabelStyle: const TextStyle(
 | 
				
			||||||
              selectedLabelStyle: const TextStyle(color: Colors.black),
 | 
					                color: Colors.white,
 | 
				
			||||||
              showSelectedLabels: false,
 | 
					                fontWeight: FontWeight.w500,
 | 
				
			||||||
              showUnselectedLabels: false,
 | 
					                height: 2.3,
 | 
				
			||||||
 | 
					              ),
 | 
				
			||||||
 | 
					              selectedLabelStyle: const TextStyle(
 | 
				
			||||||
 | 
					                color: Colors.white,
 | 
				
			||||||
 | 
					                fontWeight: FontWeight.w500,
 | 
				
			||||||
 | 
					                height: 2.3,
 | 
				
			||||||
 | 
					              ),
 | 
				
			||||||
 | 
					              unselectedFontSize: 14,
 | 
				
			||||||
 | 
					              selectedFontSize: 14,
 | 
				
			||||||
 | 
					              selectedItemColor: Colors.white,
 | 
				
			||||||
 | 
					              unselectedItemColor: Colors.white,
 | 
				
			||||||
 | 
					              showSelectedLabels: true,
 | 
				
			||||||
 | 
					              showUnselectedLabels: true,
 | 
				
			||||||
              items: itemsList,
 | 
					              items: itemsList,
 | 
				
			||||||
              onTap: (index) {
 | 
					              onTap: (index) {
 | 
				
			||||||
                if (index < actionslist.length) {
 | 
					                if (index < actionslist.length) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user