Skip to content

Commit

Permalink
Fix small logging bug and turn Sentry default to off
Browse files Browse the repository at this point in the history
  • Loading branch information
doubleangels committed Jan 24, 2025
1 parent e4ec769 commit 1320b95
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
applicationId "com.doubleangels.nextdnsmanagement"
minSdkVersion 32
targetSdk 35
versionCode 242
versionName '5.4.8'
versionCode 243
versionName '5.4.9'
resourceConfigurations += ["en", "zh", "nl", "fi", "fr", "de", "in", "it", "ja", "pl", "pt", "es", "sv", "tr"]
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ private void setupButtonForIntent(String buttonKey) {

private void setupDarkModeChangeListener(ListPreference setting) {
setting.setOnPreferenceChangeListener((preference, newValue) -> {
new SentryManager(requireContext()).captureMessage("Dark mode set to" + newValue.toString() + ".");
new SentryManager(requireContext()).captureMessage("Dark mode set to " + newValue.toString() + ".");
SharedPreferencesManager.putString("dark_mode", newValue.toString());
ProcessPhoenix.triggerRebirth(requireContext());
return true;
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/xml/root_preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<SwitchPreference
app:key="sentry_enable"
app:title="@string/sentry_enable_instructions"
app:defaultValue="true" />
app:defaultValue="false" />
<Preference
app:key="whitelist_domains"
app:summary="@string/whitelist_domains"
Expand Down

0 comments on commit 1320b95

Please sign in to comment.