Theme fixes

This commit is contained in:
Koitharu
2025-05-10 12:59:45 +03:00
parent f5514728fe
commit 3aaddfd513
4 changed files with 12 additions and 3 deletions

View File

@@ -18,9 +18,9 @@ class SyncSettings(
@Inject
constructor(@ApplicationContext context: Context) : this(
context,
AccountManager.get(context)
.getAccountsByType(context.getString(R.string.account_type_sync))
.firstOrNull(),
AccountManager.get(context)?.getAccountsByType(
context.getString(R.string.account_type_sync),
)?.firstOrNull(),
)
private val accountManager = AccountManager.get(context)

View File

@@ -36,10 +36,13 @@
android:id="@+id/appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@null"
android:clipToPadding="false"
android:elevation="0dp"
android:fitsSystemWindows="false"
android:paddingHorizontal="@dimen/margin_normal"
android:stateListAnimator="@null"
app:elevation="0dp"
app:liftOnScroll="false"
app:liftOnScrollColor="@null">
@@ -65,6 +68,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginEnd="6dp"
android:background="@null"
android:focusable="true"
android:focusableInTouchMode="true"
app:contentInsetStartWithNavigation="0dp"

View File

@@ -18,10 +18,13 @@
android:id="@+id/appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@null"
android:clipToPadding="false"
android:elevation="0dp"
android:fitsSystemWindows="false"
android:paddingHorizontal="@dimen/margin_normal"
android:stateListAnimator="@null"
app:elevation="0dp"
app:liftOnScroll="false"
app:liftOnScrollColor="@null">
@@ -48,6 +51,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginEnd="6dp"
android:background="@null"
android:focusable="true"
android:focusableInTouchMode="true"
app:collapseIcon="@null"

View File

@@ -11,6 +11,7 @@
android:id="@+id/tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@null"
app:tabGravity="start"
app:tabMode="scrollable" />