update images

This commit is contained in:
Mathieu Broillet 2025-02-09 19:23:18 +01:00
parent cc401fa99b
commit 8a9635e0e3
5 changed files with 4 additions and 3 deletions

BIN
.github/dark.webp vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

BIN
.github/light.webp vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

View File

@ -1,7 +1,7 @@
# DJI-FCC-HACK
A simple Android app that forces DJI N1 remotes to FCC
![screenshot.webp](.github/screenshot.webp)
<img src=".github/light.webp" alt="app" width="200"/><img src=".github/dark.webp" alt="app" width="200"/>
>[!WARNING]
> This only works for drone with DJI N1 remotes. If you have a different remote, this app will not work for you.

View File

@ -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)
}
}