diff --git a/.github/dark.webp b/.github/dark.webp
new file mode 100644
index 0000000..bc73695
Binary files /dev/null and b/.github/dark.webp differ
diff --git a/.github/light.webp b/.github/light.webp
new file mode 100644
index 0000000..297744d
Binary files /dev/null and b/.github/light.webp differ
diff --git a/.github/screenshot.webp b/.github/screenshot.webp
deleted file mode 100644
index d383707..0000000
Binary files a/.github/screenshot.webp and /dev/null differ
diff --git a/README.md b/README.md
index 1ffebab..69d57d8 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# DJI-FCC-HACK
A simple Android app that forces DJI N1 remotes to FCC
-
+
>[!WARNING]
> This only works for drone with DJI N1 remotes. If you have a different remote, this app will not work for you.
diff --git a/app/src/main/java/ch/mathieubroillet/djiffchack/MainActivity.kt b/app/src/main/java/ch/mathieubroillet/djiffchack/MainActivity.kt
index cd39e51..c052a4a 100644
--- a/app/src/main/java/ch/mathieubroillet/djiffchack/MainActivity.kt
+++ b/app/src/main/java/ch/mathieubroillet/djiffchack/MainActivity.kt
@@ -5,6 +5,7 @@ import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
+import android.content.res.Configuration
import android.hardware.usb.UsbDevice
import android.hardware.usb.UsbManager
import android.os.Bundle
@@ -395,10 +396,10 @@ fun MainScreen(
}
-@Preview(showBackground = true)
+@Preview(showBackground = true, device = "spec:width=411dp,height=891dp", apiLevel = 35, uiMode = Configuration.UI_MODE_NIGHT_NO)
@Composable
fun PreviewMainScreen() {
- DJI_FCC_HACK_Theme {
+ DJI_FCC_HACK_Theme{
MainScreen(usbConnected = true, onRefresh = {}, onSendPatch = { false }, isPatching = false)
}
}
\ No newline at end of file