Skip to content

Commit

Permalink
Remove routing policy management as a feature setting
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelWuensch committed Sep 17, 2023
1 parent 3e104cf commit c181699
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ public static boolean isRoutingEnabled() {
}

public static boolean isEditRoutingPoliciesEnabled() {
boolean settingEnabled = PrefsUtil.getPrefs().getBoolean("featureEditRoutingPolicies", true);
return settingEnabled;
return true;
}

public static boolean isCoinControlEnabled() {
Expand Down
2 changes: 0 additions & 2 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,6 @@
<string name="settings_featureHelpButtons_summary">The handy ? buttons across the app help new users with detailed explanations.</string>
<string name="settings_featureRoutingSummary">Routing Summary</string>
<string name="settings_featureRoutingSummary_summary">Provides access to all routing events along with a routing summary.</string>
<string name="settings_featureEditRoutingPolicies">Edit Routing Policies</string>
<string name="settings_featureEditRoutingPolicies_summary">Enables the manual configuration of routing fees and other routing policies.</string>
<string name="settings_featureContacts_summary">Make sending money a breeze with a neatly organized contact list.</string>
<string name="settings_featureCoinControl">Coin Control</string>
<string name="settings_featureCoinControl_summary">Advanced management of on-chain funds. Provides a list of all UTXOs and allows to select specific ones when sending funds. Coin selection is automated if disabled.</string>
Expand Down
8 changes: 0 additions & 8 deletions app/src/main/res/xml/settings_features.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,12 @@
android:title="@string/settings_featureRoutingSummary"
app:iconSpaceReserved="false" />

<SwitchPreference
android:defaultValue="true"
android:key="featureEditRoutingPolicies"
android:summary="@string/settings_featureEditRoutingPolicies_summary"
android:title="@string/settings_featureEditRoutingPolicies"
app:iconSpaceReserved="false" />

<SwitchPreference
android:defaultValue="true"
android:key="featureContacts"
android:summary="@string/settings_featureContacts_summary"
android:title="@string/drawer_menu_contacts"
app:iconSpaceReserved="false" />

<!--
<SwitchPreference
android:defaultValue="true"
Expand Down

0 comments on commit c181699

Please sign in to comment.