feat: add prefs button to navigation panel on mobile (#1625)
This commit is contained in:
@@ -116,6 +116,16 @@ const Navigation: FunctionComponent<Props> = ({ application }) => {
|
|||||||
<Icon type="lock-filled" size="custom" className="h-4.5 w-4.5" />
|
<Icon type="lock-filled" size="custom" className="h-4.5 w-4.5" />
|
||||||
</button>
|
</button>
|
||||||
)}
|
)}
|
||||||
|
<button
|
||||||
|
className="ml-2.5 flex h-8 min-w-8 cursor-pointer items-center justify-center rounded-full border border-solid border-border bg-default text-neutral hover:bg-contrast focus:bg-contrast"
|
||||||
|
onClick={() => {
|
||||||
|
viewControllerManager.preferencesController.openPreferences()
|
||||||
|
}}
|
||||||
|
title="Go to preferences"
|
||||||
|
aria-label="Go to preferences"
|
||||||
|
>
|
||||||
|
<Icon type="tune" />
|
||||||
|
</button>
|
||||||
<button
|
<button
|
||||||
className="ml-2.5 flex h-8 min-w-8 cursor-pointer items-center justify-center rounded-full border border-solid border-border bg-default text-neutral hover:bg-contrast focus:bg-contrast"
|
className="ml-2.5 flex h-8 min-w-8 cursor-pointer items-center justify-center rounded-full border border-solid border-border bg-default text-neutral hover:bg-contrast focus:bg-contrast"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
@@ -124,7 +134,7 @@ const Navigation: FunctionComponent<Props> = ({ application }) => {
|
|||||||
title="Go to quick settings menu"
|
title="Go to quick settings menu"
|
||||||
aria-label="Go to quick settings menu"
|
aria-label="Go to quick settings menu"
|
||||||
>
|
>
|
||||||
<Icon type="tune" />
|
<Icon type="themes" />
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</ResponsivePaneContent>
|
</ResponsivePaneContent>
|
||||||
|
|||||||
Reference in New Issue
Block a user