New ApproveSignInActivity + PendingApprovalWorker (WorkManager, 15min periodic check + notification). VerifyDeviceActivity now polls /api/login-status so sign-in completes automatically once approved on a trusted device, no code typing needed. Also restored com.google.android.material and pointed the window theme at Theme.Material3.DayNight.Dialog.Alert (was a bare platform theme).
16 lines
703 B
XML
16 lines
703 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
SPDX-FileCopyrightText: oxmc / PawletOS
|
|
SPDX-License-Identifier: Apache-2.0
|
|
-->
|
|
<resources>
|
|
<!-- Modern Material3 dialog window (matches every other PawletOS app's window
|
|
theme); the Compose Surface inside each screen supplies the actual card
|
|
look (rounded corners, fixed 360dp width, elevation) on top of it. -->
|
|
<style name="Theme.OxmcSso.Dialog" parent="Theme.Material3.DayNight.Dialog.Alert">
|
|
<item name="android:windowIsFloating">true</item>
|
|
<item name="android:windowBackground">@android:color/transparent</item>
|
|
<item name="android:backgroundDimEnabled">true</item>
|
|
</style>
|
|
</resources>
|