Skip to content

Commit

Permalink
UI: Option to fix wifi hotspot in certain conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmud0808 committed Apr 23, 2024
1 parent 78e8ff3 commit e571077
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@
<string name="hotspot_hide_ssid_title">Hide SSID</string>
<string name="hotspot_inactivity_timeout_title">Inactivity timeout</string>
<string name="hotspot_max_client_title">Maximum clients</string>
<string name="hotspot_disable_approval_title">Hotspot connectivity issues workaround</string>
<string name="hotspot_disable_approval_summary">Allow non-\"pre-approved\" clients to connect seamlessly</string>

<!--Lock screen related-->
<string name="depth_wallpaper_title">Depth effect wallpaper</string>
Expand Down
7 changes: 7 additions & 0 deletions app/src/main/res/xml/hotspot_prefs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,11 @@
app:tickInterval="1"
app:valueCount="1" />

<sh.siava.pixelxpert.ui.preferences.MaterialSwitchPreference
android:defaultValue="false"
android:key="hotspotDisableApproval"
android:summary="@string/hotspot_disable_approval_summary"
android:title="@string/hotspot_disable_approval_title"
app:iconSpaceReserved="false" />

</PreferenceScreen>

0 comments on commit e571077

Please sign in to comment.