mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	remove safe area for better ui
This commit is contained in:
		| @@ -104,30 +104,32 @@ class HomePage extends HookConsumerWidget { | ||||
|         } | ||||
|       } | ||||
|  | ||||
|       return DraggableScrollbar.semicircle( | ||||
|         // labelTextBuilder: (offset) { | ||||
|         //   final int currentItem = _scrollController.hasClients | ||||
|         //       ? (_scrollController.offset / _scrollController.position.maxScrollExtent * imageGridGroup.length) | ||||
|         //           .floor() | ||||
|         //       : 0; | ||||
|       return SafeArea( | ||||
|         child: DraggableScrollbar.semicircle( | ||||
|           // labelTextBuilder: (offset) { | ||||
|           //   final int currentItem = _scrollController.hasClients | ||||
|           //       ? (_scrollController.offset / _scrollController.position.maxScrollExtent * imageGridGroup.length) | ||||
|           //           .floor() | ||||
|           //       : 0; | ||||
|  | ||||
|         //   if (imageGridGroup[currentItem] is MonthlyTitleText) { | ||||
|         //     MonthlyTitleText item = imageGridGroup[currentItem] as MonthlyTitleText; | ||||
|           //   if (imageGridGroup[currentItem] is MonthlyTitleText) { | ||||
|           //     MonthlyTitleText item = imageGridGroup[currentItem] as MonthlyTitleText; | ||||
|  | ||||
|         //     scrollLabelText.value = item.monthTitleText; | ||||
|         //   } | ||||
|           //     scrollLabelText.value = item.monthTitleText; | ||||
|           //   } | ||||
|  | ||||
|         //   return Text(scrollLabelText.value); | ||||
|         // }, | ||||
|         // labelConstraints: const BoxConstraints.tightFor(width: 200.0, height: 30.0), | ||||
|         controller: _scrollController, | ||||
|         heightScrollThumb: 40.0, | ||||
|         child: CustomScrollView( | ||||
|           //   return Text(scrollLabelText.value); | ||||
|           // }, | ||||
|           // labelConstraints: const BoxConstraints.tightFor(width: 200.0, height: 30.0), | ||||
|           controller: _scrollController, | ||||
|           slivers: [ | ||||
|             ImmichSliverAppBar(imageGridGroup: imageGridGroup), | ||||
|             ...imageGridGroup, | ||||
|           ], | ||||
|           heightScrollThumb: 40.0, | ||||
|           child: CustomScrollView( | ||||
|             controller: _scrollController, | ||||
|             slivers: [ | ||||
|               ImmichSliverAppBar(imageGridGroup: imageGridGroup), | ||||
|               ...imageGridGroup, | ||||
|             ], | ||||
|           ), | ||||
|         ), | ||||
|       ); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user