Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit 7b39de8

Browse files
committed
Rename showcase mode to lockdown mode
1 parent 652dc00 commit 7b39de8

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2+
android:width="24dp"
3+
android:height="24dp"
4+
android:viewportWidth="24"
5+
android:viewportHeight="24"
6+
android:tint="?attr/colorControlNormal">
7+
<path
8+
android:fillColor="@android:color/white"
9+
android:pathData="M18,8h-1L17,6c0,-2.76 -2.24,-5 -5,-5S7,3.24 7,6v2L6,8c-1.1,0 -2,0.9 -2,2v10c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2L20,10c0,-1.1 -0.9,-2 -2,-2zM12,17c-1.1,0 -2,-0.9 -2,-2s0.9,-2 2,-2 2,0.9 2,2 -0.9,2 -2,2zM15.1,8L8.9,8L8.9,6c0,-1.71 1.39,-3.1 3.1,-3.1 1.71,0 3.1,1.39 3.1,3.1v2z"/>
10+
</vector>

app/src/main/res/values/strings.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
<string name="title_activity_settings">SettingsActivity</string>
1414

1515
<!-- Preference Titles -->
16-
<string name="showcase_mode_pref">Showcase mode</string>
17-
<string name="showcase_mode_desc">Showcase mode prevent manager to do action on modules</string>
16+
<!-- Note: Lockdown mode used to be called showcase mode -->
17+
<string name="showcase_mode_pref">Lockdown mode</string>
18+
<string name="showcase_mode_desc">Lockdown mode prevent manager to do action on modules</string>
1819
<string name="pref_category_settings">Settings</string>
1920
<string name="pref_category_info">Info</string>
2021
<string name="show_licenses">Show licenses</string>

app/src/main/res/xml/root_preferences.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@
1616
app:icon="@drawable/ic_baseline_list_24"
1717
app:title="@string/force_dark_terminal_title" />
1818

19+
<!-- Note: Lockdown mode used to be called showcase mode -->
1920
<SwitchPreferenceCompat
2021
app:defaultValue="false"
2122
app:key="pref_showcase_mode"
22-
app:icon="@drawable/ic_baseline_monitor_24"
23+
app:icon="@drawable/ic_baseline_lock_24"
2324
app:title="@string/showcase_mode_pref"
2425
app:summary="@string/showcase_mode_desc"/>
2526

0 commit comments

Comments
 (0)