Merge pull request #702 from McHoffi/McHoffi-SMBnotify_true
enable SMB notify by default
This commit is contained in:
commit
6904cb8807
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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" />
|
||||
|
@ -44,4 +44,4 @@
|
|||
android:title="@string/wear_predictions_title" />
|
||||
</PreferenceScreen>
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
</PreferenceScreen>
|
||||
|
|
Loading…
Reference in a new issue