We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b83bbd5 + 9835206 commit 8e4f6fcCopy full SHA for 8e4f6fc
app/components/sidebar.tsx
@@ -160,7 +160,13 @@ export function SideBar(props: { className?: string }) {
160
icon={<MaskIcon />}
161
text={shouldNarrow ? undefined : Locale.Mask.Name}
162
className={styles["sidebar-bar-button"]}
163
- onClick={() => navigate(Path.NewChat, { state: { fromHome: true } })}
+ onClick={() => {
164
+ if (config.dontShowMaskSplashScreen !== true) {
165
+ navigate(Path.NewChat, { state: { fromHome: true } });
166
+ } else {
167
+ navigate(Path.Masks, { state: { fromHome: true } });
168
+ }
169
+ }}
170
shadow
171
/>
172
<IconButton
0 commit comments