Merge pull request #702 from McHoffi/McHoffi-SMBnotify_true

enable SMB notify by default
This commit is contained in:
AdrianLxM 2018-03-08 15:17:28 +01:00 committed by GitHub
commit 6904cb8807
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -204,7 +204,7 @@ public class WearPlugin implements PluginBase {
@Subscribe
public void onStatusEvent(final EventOverviewBolusProgress ev) {
if(!ev.isSMB()||SP.getBoolean("wear_notifySMB", false)) {
if(!ev.isSMB()||SP.getBoolean("wear_notifySMB", true)) {
Intent intent = new Intent(ctx, WatchUpdaterService.class).setAction(WatchUpdaterService.ACTION_SEND_BOLUSPROGRESS);
intent.putExtra("progresspercent", ev.percent);
intent.putExtra("progressstatus", ev.status);

View file

@ -32,7 +32,7 @@
android:title="@string/wear_showbgi_title" />
<SwitchPreference
android:defaultValue="false"
android:defaultValue="true"
android:key="wear_notifySMB"
android:summary="@string/wear_notifysmb_summary"
android:title="@string/wear_notifysmb_title" />