Skip to content

Commit 662a929

Browse files
fix: add defaultValue to the switch
1 parent 9744d8c commit 662a929

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/res/xml/preference_general_home.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
<rikka.material.preference.MaterialSwitchPreference
1616
app:key="update_check"
17+
app:defaultValue="true"
1718
app:summary="@string/update_check_sum"
1819
app:title="@string/update_check" />
1920

0 commit comments

Comments
 (0)