update code
This commit is contained in:
parent
50acb05f23
commit
32402275ac
2 changed files with 7 additions and 13 deletions
6
app.json
6
app.json
|
|
@ -4,7 +4,7 @@
|
|||
"slug": "fake-check-bd",
|
||||
"version": "1.0.0",
|
||||
"orientation": "portrait",
|
||||
"icon": "./assets/images/fraud_logo.png",
|
||||
"icon": "./assets/images/fraud_logo.jpeg",
|
||||
"scheme": "myapp",
|
||||
"userInterfaceStyle": "automatic",
|
||||
"newArchEnabled": true,
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
},
|
||||
"android": {
|
||||
"adaptiveIcon": {
|
||||
"foregroundImage": "./assets/images/fraud_logo.png",
|
||||
"foregroundImage": "./assets/images/fraud_logo.jpeg",
|
||||
"backgroundColor": "#ffffff"
|
||||
},
|
||||
"package": "com.smfahimhossen.android"
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
[
|
||||
"expo-splash-screen",
|
||||
{
|
||||
"image": "./assets/images/fraud_logo.png",
|
||||
"image": "./assets/images/fraud_logo.jpeg",
|
||||
"imageWidth": 200,
|
||||
"resizeMode": "contain",
|
||||
"backgroundColor": "#ffffff"
|
||||
|
|
|
|||
|
|
@ -329,7 +329,7 @@ export default function HomeScreen() {
|
|||
Object.assign(button.style, {
|
||||
position: "absolute",
|
||||
right: "5px",
|
||||
top: "-30px",
|
||||
top: "-34px",
|
||||
border: "none",
|
||||
borderRadius: "8px",
|
||||
cursor: "pointer",
|
||||
|
|
@ -345,14 +345,8 @@ export default function HomeScreen() {
|
|||
button.style.color="white";
|
||||
button.style.padding="5px 5px";
|
||||
button.style.background="blue";
|
||||
|
||||
const seeMoreElement = post.querySelector("span[style*='color:#65676b']");
|
||||
|
||||
if (seeMoreElement) {
|
||||
await handleSeeMoreClick(seeMoreElement, post, button, caption, imageURLs, postId);
|
||||
} else {
|
||||
collectDataImmediately(post, button, caption, imageURLs, postId);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
post.appendChild(button);
|
||||
|
|
@ -378,7 +372,7 @@ export default function HomeScreen() {
|
|||
});
|
||||
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
document.querySelectorAll("div.m.bg-s3").forEach((post) => {
|
||||
document.querySelectorAll("div.m.displayed.bg-s3").forEach((post) => {
|
||||
if (!post.dataset.processed) {
|
||||
collectPostData(post);
|
||||
}
|
||||
|
|
@ -393,7 +387,7 @@ export default function HomeScreen() {
|
|||
<View style={styles.container}>
|
||||
<WebView
|
||||
ref={webviewRef}
|
||||
source={{ uri: "https://m.facebook.com" }}
|
||||
source={{ uri: "https://www.facebook.com" }}
|
||||
injectedJavaScript={injectedJavaScript}
|
||||
startInLoadingState={true}
|
||||
onMessage={handleMessage}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue