Minor bugfixes
This commit is contained in:
@ -219,6 +219,10 @@ public class ComposeMessageFragment extends Fragment {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (recipient == null){
|
||||
Toast.makeText(getContext(), R.string.error_msg_recipient_missing, Toast.LENGTH_LONG).show();
|
||||
return;
|
||||
}
|
||||
builder = new Plaintext.Builder(MSG)
|
||||
.from(identity)
|
||||
.to(recipient);
|
||||
|
@ -35,7 +35,7 @@ public class WifiReceiver extends BroadcastReceiver {
|
||||
if (Preferences.isWifiOnly(ctx) && isConnectedToMeteredNetwork(ctx) && bmc.isRunning()) {
|
||||
bmc.shutdown();
|
||||
}
|
||||
if (!bmc.isRunning() && !(Preferences.isWifiOnly(ctx) && isConnectedToMeteredNetwork(ctx))) {
|
||||
if (Preferences.isFullNodeActive(ctx) && !bmc.isRunning() && !(Preferences.isWifiOnly(ctx) && isConnectedToMeteredNetwork(ctx))) {
|
||||
ctx.startService(new Intent(ctx, BitmessageService.class));
|
||||
}
|
||||
}
|
||||
|
@ -100,7 +100,8 @@ public class SyncAdapter extends AbstractThreadedSyncAdapter {
|
||||
Preferences.getTrustedNode(getContext()),
|
||||
Preferences.getTrustedNodePort(getContext()),
|
||||
Preferences.getTimeoutInSeconds(getContext()),
|
||||
true);
|
||||
true
|
||||
);
|
||||
LOG.info("Synchronization finished");
|
||||
}
|
||||
|
||||
|
@ -118,4 +118,5 @@ Als Alternative kann in den Einstellungen ein vertrauenswürdiger Knoten konfigu
|
||||
<string name="cleanup_notification_end">Aufräumarbeiten beendet</string>
|
||||
<string name="cleanup_summary">Veraltete Inventareinträge werden entfernt</string>
|
||||
<string name="wait_for_wifi">Auf W-LAN warten</string>
|
||||
<string name="error_msg_recipient_missing">Bitte Empfänger angeben</string>
|
||||
</resources>
|
||||
|
@ -117,4 +117,5 @@ As an alternative you could configure a trusted node in the settings, but as of
|
||||
<string name="cleanup_notification_start">Cleanup started</string>
|
||||
<string name="cleanup_notification_end">Cleanup finished</string>
|
||||
<string name="wait_for_wifi">Wait for Wi-Fi</string>
|
||||
<string name="error_msg_recipient_missing">Please set a recipient</string>
|
||||
</resources>
|
||||
|
Reference in New Issue
Block a user