mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
Limit keychain modal to Android (#1591)
This commit is contained in:
@@ -349,6 +349,7 @@ export function enableKeychainErrorModal() {
|
|||||||
export function showKeychainErrorModal(
|
export function showKeychainErrorModal(
|
||||||
errorType: 'user_cancelled' | 'crypto_failed',
|
errorType: 'user_cancelled' | 'crypto_failed',
|
||||||
) {
|
) {
|
||||||
|
if (Platform.OS !== 'android') return;
|
||||||
if (!navigationRef.isReady()) return;
|
if (!navigationRef.isReady()) return;
|
||||||
|
|
||||||
const errorContent = {
|
const errorContent = {
|
||||||
|
|||||||
Reference in New Issue
Block a user