Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5cb4a2ef authored by Jonathan Klee's avatar Jonathan Klee
Browse files

Fix Switch UI

parent 4af048cc
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ import android.os.Bundle
import androidx.lifecycle.lifecycleScope
import androidx.preference.Preference
import androidx.preference.PreferenceFragmentCompat
import androidx.preference.SwitchPreferenceCompat
import androidx.preference.SwitchPreference
import com.google.android.gms.R
import org.microg.gms.auth.AuthConstants
import org.microg.gms.games.GameProfileSettings
@@ -22,7 +22,7 @@ import org.microg.gms.settings.SettingsContract
class GameProfileFragment : PreferenceFragmentCompat() {

    private lateinit var autoCreatePlayerEnabled: SwitchBarPreference
    private lateinit var allowUploadGamePlayed: SwitchPreferenceCompat
    private lateinit var allowUploadGamePlayed: SwitchPreference
    private lateinit var changeDefaultAccountPreference: Preference
    private lateinit var deletePlayGamesAccountPreference: Preference

+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@
    <PreferenceCategory
        android:title="@string/prefcat_accounts_settings_title"
        app:iconSpaceReserved="false">
        <SwitchPreferenceCompat
        <SwitchPreference
            android:persistent="false"
            android:key="allow_upload_game_played"
            android:summary="@string/pref_allow_upload_game_played_summary"
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
        tools:title="@tools:sample/lorem"
        app:allowDividerBelow="false" />

    <SwitchPreferenceCompat
    <SwitchPreference
        android:defaultValue="true"
        android:key="pref_device_attestation_app_allow_requests"
        android:persistent="false"
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
            android:summary="@string/pref_droidguard_mode_network_summary"
            android:title="@string/pref_droidguard_mode_network_title" />
    </PreferenceCategory>
    <SwitchPreferenceCompat
    <SwitchPreference
        android:defaultValue="true"
        android:persistent="false"
        android:key="pref_droidguard_block_hw_attestation"