Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Neamar/KISS
Browse files Browse the repository at this point in the history
  • Loading branch information
Neamar committed Aug 2, 2016
2 parents 3314842 + a63de32 commit 6379ef2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/main/java/fr/neamar/kiss/DataHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ public void removeShortcuts(String packageName) {

public void removeFromExcluded(String packageName) {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this.context);
String excluded = prefs.getString("excluded-apps-list", "");
String excluded = prefs.getString("excluded-apps-list", context.getPackageName() + ";");
prefs.edit().putString("excluded-apps-list", excluded.replaceAll(packageName + ";", "")).apply();
}

Expand Down
9 changes: 8 additions & 1 deletion app/src/main/res/values-it/arrays.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,12 @@
<item>alphabetical</item>
<item>invertedAlphabetical</item>
</string-array>
<string-array name="historyModeEntries">
<item>Più recente per primo</item>
<item>Più utilizzato per primo</item>
</string-array>
<string-array name="historyModeValues">
<item>recency</item>
<item>frecency</item>
</string-array>
</resources>

0 comments on commit 6379ef2

Please sign in to comment.