fix typo
This commit is contained in:
parent
5e11303e87
commit
60fe4a568b
1 changed files with 2 additions and 2 deletions
|
@ -237,9 +237,9 @@ public class OwnCloudSyncAdapter extends AbstractThreadedSyncAdapter {
|
|||
if(newItemsCount > 0) {
|
||||
String fgActivityPackageName = getForegroundActivityPackageName();
|
||||
|
||||
boolean showNotifcationOnNewArticles = mPrefs.getBoolean(SettingsActivity.CB_SHOW_NOTIFICATION_NEW_ARTICLES_STRING, true);
|
||||
boolean showNotificationOnNewArticles = mPrefs.getBoolean(SettingsActivity.CB_SHOW_NOTIFICATION_NEW_ARTICLES_STRING, true);
|
||||
// If another app is opened show a notification
|
||||
if (!fgActivityPackageName.equals(getContext().getPackageName()) && showNotifcationOnNewArticles) {
|
||||
if (!fgActivityPackageName.equals(getContext().getPackageName()) && showNotificationOnNewArticles) {
|
||||
NextcloudNotificationManager.showUnreadRssItemsNotification(getContext(), newItemsCount);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue