Skip to content

Commit

Permalink
switch to OSS icon
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed Nov 21, 2024
1 parent 44d8793 commit 8bdfa47
Showing 5 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/fcl-bundle/src/build/get-input-options.js
Original file line number Diff line number Diff line change
@@ -69,7 +69,7 @@ module.exports = function getInputOptions(package, build) {
".tsx",
".mts",
".cts",
".png",
".svg",
])

const postcssConfigPath = path.resolve(getPackageRoot(), "postcss.config.js")
4 changes: 2 additions & 2 deletions packages/fcl-wc/src/service.ts
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ import {createSessionProposal, request} from "./session"
import {ModalCtrlState} from "@walletconnect/modal-core/dist/_types/src/types/controllerTypes"
import {showNotification} from "./ui/notifications"
import type {FclWalletConnectConfig} from "./fcl-wc"
import mobileIcon from "./ui/assets/mobile.png"
import mobileIcon from "./ui/assets/mobile.svg"
import {CurrentUser, Service} from "@onflow/typedefs"
import {SessionTypes} from "@walletconnect/types"

@@ -287,7 +287,7 @@ export function showWcRequestNotification({
user: CurrentUser
}) {
const authnService = user?.services?.find((s: any) => s.type === "authn")
const walletProvider = authnService?.provider || service.provider
const walletProvider = authnService?.provider

return showNotification({
title: walletProvider?.name || "Mobile Wallet",
7 changes: 1 addition & 6 deletions packages/fcl-wc/src/types/declarations.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
declare module "*.png" {
const value: string
export default value
}

declare module "*?raw" {
declare module "*.svg" {
const value: string
export default value
}
Binary file removed packages/fcl-wc/src/ui/assets/mobile.png
Binary file not shown.
1 change: 1 addition & 0 deletions packages/fcl-wc/src/ui/assets/mobile.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8bdfa47

Please sign in to comment.