mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-16 21:33:41 +00:00
fix: home page menu icon
This commit is contained in:
1 parent
1cbe58d760
commit
7d2d84d844
1 file changed
+9
-11
@@ -41,15 +41,13 @@ class HomeView extends GetView<HomeController> {
|
|||||||
},
|
},
|
||||||
destinations: [
|
destinations: [
|
||||||
NavigationRailDestination(
|
NavigationRailDestination(
|
||||||
icon: const Icon(Icons.format_align_left_outlined),
|
icon: const Icon(Icons.file_download),
|
||||||
selectedIcon:
|
selectedIcon: const Icon(Icons.file_download),
|
||||||
const Icon(Icons.format_align_left_outlined),
|
|
||||||
label: Text('downloading'.tr),
|
label: Text('downloading'.tr),
|
||||||
),
|
),
|
||||||
NavigationRailDestination(
|
NavigationRailDestination(
|
||||||
icon: const Icon(Icons.format_align_justify_outlined),
|
icon: const Icon(Icons.done),
|
||||||
selectedIcon:
|
selectedIcon: const Icon(Icons.done),
|
||||||
const Icon(Icons.format_align_justify_outlined),
|
|
||||||
label: Text('downloaded'.tr),
|
label: Text('downloaded'.tr),
|
||||||
),
|
),
|
||||||
NavigationRailDestination(
|
NavigationRailDestination(
|
||||||
@@ -59,7 +57,7 @@ class HomeView extends GetView<HomeController> {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
selectedIndex: controller.currentIndex.value,
|
selectedIndex: controller.currentIndex.value,
|
||||||
leading: const Icon(Icons.logo_dev),
|
leading: const Icon(Icons.menu),
|
||||||
// trailing: const Icon(Icons.info_outline),
|
// trailing: const Icon(Icons.info_outline),
|
||||||
)
|
)
|
||||||
: const SizedBox.shrink(),
|
: const SizedBox.shrink(),
|
||||||
@@ -78,11 +76,11 @@ class HomeView extends GetView<HomeController> {
|
|||||||
? BottomNavigationBar(
|
? BottomNavigationBar(
|
||||||
items: <BottomNavigationBarItem>[
|
items: <BottomNavigationBarItem>[
|
||||||
BottomNavigationBarItem(
|
BottomNavigationBarItem(
|
||||||
icon: const Icon(Icons.format_align_left_outlined),
|
icon: const Icon(Icons.file_download),
|
||||||
label: 'downloading'.tr,
|
label: 'downloading'.tr,
|
||||||
),
|
),
|
||||||
BottomNavigationBarItem(
|
BottomNavigationBarItem(
|
||||||
icon: const Icon(Icons.format_align_justify_outlined),
|
icon: const Icon(Icons.done),
|
||||||
label: 'downloaded'.tr,
|
label: 'downloaded'.tr,
|
||||||
),
|
),
|
||||||
BottomNavigationBarItem(
|
BottomNavigationBarItem(
|
||||||
@@ -118,11 +116,11 @@ class HomeView extends GetView<HomeController> {
|
|||||||
// ),
|
// ),
|
||||||
// items: [
|
// items: [
|
||||||
// BottomBarItem(
|
// BottomBarItem(
|
||||||
// icon: const Icon(Icons.format_align_left_outlined),
|
// icon: const Icon(Icons.file_download),
|
||||||
// selectedColor: Get.theme.primaryColor,
|
// selectedColor: Get.theme.primaryColor,
|
||||||
// title: Text('downloading'.tr)),
|
// title: Text('downloading'.tr)),
|
||||||
// BottomBarItem(
|
// BottomBarItem(
|
||||||
// icon: const Icon(Icons.format_align_justify_outlined),
|
// icon: const Icon(Icons.done),
|
||||||
// selectedColor: Get.theme.primaryColor,
|
// selectedColor: Get.theme.primaryColor,
|
||||||
// title: Text('downloaded'.tr)),
|
// title: Text('downloaded'.tr)),
|
||||||
// BottomBarItem(
|
// BottomBarItem(
|
||||||
|
|||||||
Reference in new issue
Block a user