ai/at
1
0

fix social-app ios patch start contacts nux

This commit is contained in:
2025-12-13 14:25:48 +09:00
parent 181a503597
commit b768276695
2 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
diff --git a/src/components/dialogs/nuxs/index.tsx b/src/components/dialogs/nuxs/index.tsx
index 63e11a7f4..b6d0fa743 100644
--- a/src/components/dialogs/nuxs/index.tsx
+++ b/src/components/dialogs/nuxs/index.tsx
@@ -10,7 +10,7 @@ import {type AppBskyActorDefs} from '@atproto/api'
import {useGate} from '#/lib/statsig/statsig'
import {logger} from '#/logger'
-import {isNative} from '#/platform/detection'
+// import {isNative} from '#/platform/detection'
import {STALE} from '#/state/queries'
import {Nux, useNuxs, useResetNuxs, useSaveNux} from '#/state/queries/nuxs'
import {
@@ -24,8 +24,8 @@ import {isSnoozed, snooze, unsnooze} from '#/components/dialogs/nuxs/snoozing'
/*
* NUXs
*/
-import {FindContactsAnnouncement} from './FindContactsAnnouncement'
-import {isExistingUserAsOf} from './utils'
+// import {FindContactsAnnouncement} from './FindContactsAnnouncement'
+// import {isExistingUserAsOf} from './utils'
type Context = {
activeNux: Nux | undefined
@@ -41,15 +41,7 @@ const queuedNuxs: {
preferences: UsePreferencesQueryResponse
}) => boolean
}[] = [
- {
- id: Nux.FindContactsAnnouncement,
- enabled: ({currentProfile}) => {
- return (
- isNative &&
- isExistingUserAsOf('2025-12-16T00:00:00.000Z', currentProfile.createdAt)
- )
- },
- },
+ // FindContactsAnnouncement disabled for syu.is
]
const Context = createContext<Context>({
@@ -188,9 +180,7 @@ function Inner({
return (
<Context.Provider value={ctx}>
{/*For example, activeNux === Nux.NeueTypography && <NeueTypography />*/}
- {activeNux === Nux.FindContactsAnnouncement && (
- <FindContactsAnnouncement />
- )}
+ {/* FindContactsAnnouncement disabled for syu.is */}
</Context.Provider>
)
}