1
0
mirror of https://github.com/nerzhul/ownCloud-SMS-App.git synced 2026-08-24 14:45:34 +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
+1
View File
@@ -181,4 +181,5 @@
<string name="reinit_sync_cursor_confirm">Are you sure you want to reinitialise the synchronisation cursor ? This can slowdown the next synchronisation if we found many old messages not synced with server.</string>
<string name="yes_confirm">Yes</string>
<string name="no_confirm">No</string>
<string name="pref_show_sync_notifications">Show sync notifications</string>
</resources>
+1
View File
@@ -157,5 +157,6 @@
<string name="reinit_sync_cursor_confirm">Are you sure you want to reinitialize the synchronization cursor ? This can slowdown the next synchronisation if we found many old messages not synced with server.</string>
<string name="yes_confirm">Yes</string>
<string name="no_confirm">No</string>
<string name="pref_show_sync_notifications">Show sync notifications</string>
</resources>
+1
View File
@@ -181,4 +181,5 @@
<string name="reinit_sync_cursor_confirm">Êtes-vous sûr de vouloir réinitialiser le curseur de synchronisation ? Cela peut ralentir la prochaine synchronisation si nous trouvons de nombreux anciens messages non synchronisés avec le serveur.</string>
<string name="yes_confirm">Oui</string>
<string name="no_confirm">Non</string>
<string name="pref_show_sync_notifications">Afficher les notifications de synchronisation</string>
</resources>
+1
View File
@@ -258,4 +258,5 @@
<string name="reinit_sync_cursor_confirm">Are you sure you want to reinitialize the synchronization cursor ? This can slowdown the next synchronisation if we found many old messages not synced with server.</string>
<string name="yes_confirm">Yes</string>
<string name="no_confirm">No</string>
<string name="pref_show_sync_notifications">Show sync notifications</string>
</resources>
+6
View File
@@ -31,6 +31,12 @@
android:layout_height="wrap_content"
android:key="push_on_receive"
android:title="@string/pref_push_on_receive" />
<CheckBoxPreference android:id="@+id/checkbox_show_sync_notifications"
android:defaultValue="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:key="show_sync_notifications"
android:title="@string/pref_show_sync_notifications" />
<CheckBoxPreference android:id="@+id/checkbox_sync_wifi"
android:defaultValue="true"
android:layout_width="wrap_content"