Use FQDNs for some file names. https://redmine.stoutner.com/issues/680
[PrivacyBrowser.git] / app / src / main / java / com / stoutner / privacybrowser / activities / AboutActivity.java
index 31e9c152f5d7e71338a5812d6fe13720d909cead..94801fb9b5579a091e0a88476daf4d027544db96 100644 (file)
@@ -64,7 +64,7 @@ public class AboutActivity extends AppCompatActivity implements SaveDialog.SaveL
         SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(this);
 
         // Get the screenshot preference.
-        boolean allowScreenshots = sharedPreferences.getBoolean("allow_screenshots", false);
+        boolean allowScreenshots = sharedPreferences.getBoolean(getString(R.string.allow_screenshots_key), false);
 
         // Disable screenshots if not allowed.
         if (!allowScreenshots) {