1
0
mirror of https://github.com/nerzhul/ownCloud-SMS-App.git synced 2026-08-22 22:03:10 +00:00

Add an option to disable sync notification

Fix #150
This commit is contained in:
Loic Blot
2017-06-06 23:50:20 +02:00
parent ceba0324e1
commit 1d45d0a318
10 changed files with 43 additions and 16 deletions
@@ -43,6 +43,10 @@ public class OCSMSSharedPrefs extends SharedPrefs {
return _sPrefs.getBoolean("push_on_receive", DefaultPrefs.pushOnReceive);
}
public Boolean showSyncNotifications() {
return _sPrefs.getBoolean("show_sync_notifications", DefaultPrefs.showSyncNotifications);
}
public Boolean syncInWifi() {
return _sPrefs.getBoolean("sync_wifi", DefaultPrefs.syncWifi);
}