forked from aeharding/voyager
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove ionic:build:before from build script (#10)
- Loading branch information
Showing
6 changed files
with
5 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,7 @@ | ||
import { IonSpinner } from "@ionic/react"; | ||
|
||
import Tip from "./Tip"; | ||
import useInAppPurchase from "./useInAppPurchase"; | ||
// This is a stub that replaces the non-stub InAppPurchases.tsx | ||
// for F-droid and Github builds | ||
// (because Google Play In-App Payments is nonfree) | ||
|
||
export default function InAppProducts() { | ||
const { products, initializing } = useInAppPurchase(); | ||
|
||
if (initializing) return <IonSpinner />; | ||
|
||
if (!products.length) | ||
return ( | ||
<div className="ion-text-center"> | ||
<p>No options found.</p> | ||
<p>Please try again later!</p> | ||
</div> | ||
); | ||
|
||
return products.map((product) => ( | ||
<Tip product={product} key={product.identifier} /> | ||
)); | ||
return <></>; | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.