fix: remove portrait lock

bump deps

Closes #259
Closes #227
Closes #226
Closes #219
Closes #218
This commit is contained in:
Zane Schepke
2024-07-27 02:20:01 -04:00
parent c6c8047982
commit 7a2d96fcd7
6 changed files with 15 additions and 17 deletions
+2 -1
View File
@@ -6,11 +6,13 @@ plugins {
alias(libs.plugins.hilt.android)
alias(libs.plugins.kotlinxSerialization)
alias(libs.plugins.ksp)
alias(libs.plugins.compose.compiler)
}
android {
namespace = Constants.APP_ID
compileSdk = Constants.TARGET_SDK
compileSdkPreview = "VanillaIceCream"
androidResources {
generateLocaleConfig = true
@@ -124,7 +126,6 @@ android {
compose = true
buildConfig = true
}
composeOptions { kotlinCompilerExtensionVersion = Constants.COMPOSE_COMPILER_EXTENSION_VERSION }
packaging { resources { excludes += "/META-INF/{AL2.0,LGPL2.1}" } }
}
-1
View File
@@ -80,7 +80,6 @@
<activity
android:name=".ui.MainActivity"
android:exported="true"
android:screenOrientation="portrait"
android:theme="@style/Theme.WireguardAutoTunnel">
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />
@@ -102,7 +102,6 @@ fun SettingsScreen(
val scope = rememberCoroutineScope()
val scrollState = rememberScrollState()
val interactionSource = remember { MutableInteractionSource() }
//val pinExists = remember { mutableStateOf(PinManager.pinExists()) }
val uiState by viewModel.uiState.collectAsStateWithLifecycle()
val kernelSupport by viewModel.kernelSupport.collectAsStateWithLifecycle()