feat: add a tablet friendly mode (#782)

pull/784/head
Thomas Göttgens 2023-11-18 10:03:19 +01:00 zatwierdzone przez GitHub
rodzic 0330b8ff80
commit 105f38e97c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -135,7 +135,7 @@
<activity
android:name="com.geeksville.mesh.MainActivity"
android:launchMode="singleInstance"
android:screenOrientation="sensorPortrait"
android:screenOrientation="unspecified"
android:windowSoftInputMode="stateAlwaysHidden"
android:theme="@style/Theme.App.Starting"
android:exported="true">

Wyświetl plik

@ -333,7 +333,7 @@ fun ChannelScreen(
painter = channelSet.qrCode?.let { BitmapPainter(it.asImageBitmap()) }
?: painterResource(id = R.drawable.qrcode),
contentDescription = stringResource(R.string.qr_code),
contentScale = ContentScale.FillWidth,
contentScale = ContentScale.Inside,
alpha = if (enabled) 1f else 0.25f,
// colorFilter = ColorFilter.colorMatrix(ColorMatrix().apply { setToSaturation(0f) }),
modifier = Modifier