Skip to content

Commit

Permalink
[android] fix(webdav): Use new builtin CapacitorHttp
Browse files Browse the repository at this point in the history
fixes #1455

Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed Dec 11, 2023
1 parent 5851195 commit 7133d28
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
},
"dependencies": {
"@byteowls/capacitor-oauth2": "4.x",
"@capacitor-community/http": "^1.4.1",
"@capacitor/android": "^5.0.0",
"@capacitor/app": "^5.0.0",
"@capacitor/core": "^5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/adapters/GoogleDrive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
} from '../../errors/Error'
import { OAuth2Client } from '@byteowls/capacitor-oauth2'
import { Capacitor } from '@capacitor/core'
import { Http } from '@capacitor-community/http'
import { CapacitorHttp as Http } from '@capacitor/core'

const OAuthConfig = {
authorizationBaseUrl: 'https://accounts.google.com/o/oauth2/auth',
Expand Down
2 changes: 1 addition & 1 deletion src/lib/adapters/WebDav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
NetworkError, RedirectError,
SlashError
} from '../../errors/Error'
import { Http } from '@capacitor-community/http'
import { CapacitorHttp as Http } from '@capacitor/core'
import { Capacitor } from '@capacitor/core'
import Html from '../serializers/Html'

Expand Down
2 changes: 1 addition & 1 deletion src/ui/components/native/FaviconImage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<script>
import { getIcons } from '../../../lib/getFavicon'
import { Http } from '@capacitor-community/http'
import { CapacitorHttp as Http } from '@capacitor/core'
import {Preferences as Storage} from '@capacitor/preferences'
export default {
Expand Down
2 changes: 1 addition & 1 deletion src/ui/store/native/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Logger from '../../../lib/Logger'
import AdapterFactory from '../../../lib/AdapterFactory'
import Controller from '../../../lib/Controller'
import { i18n } from '../../../lib/native/I18n'
import { Http } from '@capacitor-community/http'
import { CapacitorHttp as Http } from '@capacitor/core'
import { Share } from '@capacitor/share'
import Html from '../../../lib/serializers/Html'
import { Bookmark, Folder } from '../../../lib/Tree'
Expand Down
2 changes: 1 addition & 1 deletion src/ui/views/native/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { SplashScreen } from '@capacitor/splash-screen'
import { SendIntent } from 'send-intent'
import packageJson from '../../../../package.json'
import { Preferences as Storage } from '@capacitor/preferences'
import { Http } from '@capacitor-community/http'
import { CapacitorHttp as Http } from '@capacitor/core'
import Logger from '../../../lib/Logger'
export default {
Expand Down

0 comments on commit 7133d28

Please sign in to comment.