Use the history icon for the sidebar Sessions button

This commit is contained in:
Mohamed Boudra
2026-06-17 15:39:52 +07:00
parent 4a6503f177
commit e58de8c338
+3 -3
View File
@@ -1,5 +1,5 @@
import { router, usePathname } from "expo-router"; import { router, usePathname } from "expo-router";
import { Clock, FolderPlus, Home, Plus, Search, Settings, X } from "lucide-react-native"; import { FolderPlus, History, Home, Plus, Search, Settings, X } from "lucide-react-native";
import { useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
import { import {
type Dispatch, type Dispatch,
@@ -818,7 +818,7 @@ function MobileSidebar({
shortcutKeys={newWorkspaceKeys} shortcutKeys={newWorkspaceKeys}
/> />
<SidebarHeaderRow <SidebarHeaderRow
icon={Clock} icon={History}
label={labels.sessions} label={labels.sessions}
onPress={handleViewMore} onPress={handleViewMore}
isActive={isSessionsActive} isActive={isSessionsActive}
@@ -998,7 +998,7 @@ function DesktopSidebar({
shortcutKeys={newWorkspaceKeys} shortcutKeys={newWorkspaceKeys}
/> />
<SidebarHeaderRow <SidebarHeaderRow
icon={Clock} icon={History}
label={labels.sessions} label={labels.sessions}
onPress={handleViewMore} onPress={handleViewMore}
isActive={isSessionsActive} isActive={isSessionsActive}