File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import {
1515 SlashError
1616} from '../../errors/Error'
1717import Crypto from '../Crypto'
18- import { isOrion } from '../isOrion'
1918
2019const LOCK_INTERVAL = 2 * 60 * 1000 // Lock every 2mins while syncing
2120const LOCK_TIMEOUT = 15 * 60 * 1000 // Override lock 0.25h after last time lock has been set
@@ -72,7 +71,7 @@ export default class GitAdapter extends CachingAdapter {
7271 this . hash = await Crypto . sha256 ( JSON . stringify ( this . server ) ) + Date . now ( )
7372 this . dir = '/' + this . hash + '/'
7473
75- if ( Capacitor . getPlatform ( ) === 'web' && ! isOrion ) {
74+ if ( Capacitor . getPlatform ( ) === 'web' ) {
7675 const browser = ( await import ( '../browser-api' ) ) . default
7776 let hasPermissions , error = false
7877 try {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments