Remove iphone 6 warning

Background App refresh need to be enabled (wlan+mobile data) and bisq
enabled (settings/general/Background App refresh). If that is not
enabled the app does not receive the messages even if it is open.
Apple has some weird logic who the name such "features" - you need
Background App refresh enabled to receive data if the app is not in
background.... I think another reason to push Apple in background...
This commit is contained in:
Manfred Karrer 2018-08-11 23:19:34 +02:00
parent 671daacd18
commit be5d1917e0
No known key found for this signature in database
GPG key ID: 401250966A6B2C46

View file

@ -32,7 +32,6 @@ import bisq.core.locale.Res;
import bisq.core.locale.TradeCurrency;
import bisq.core.monetary.Price;
import bisq.core.notifications.MobileMessage;
import bisq.core.notifications.MobileModel;
import bisq.core.notifications.MobileNotificationService;
import bisq.core.notifications.MobileNotificationValidator;
import bisq.core.notifications.alerts.DisputeMsgEvents;
@ -47,7 +46,6 @@ import bisq.core.user.User;
import bisq.core.util.BSFormatter;
import bisq.core.util.validation.InputValidator;
import bisq.common.UserThread;
import bisq.common.util.Tuple2;
import bisq.common.util.Tuple3;
@ -66,7 +64,6 @@ import javafx.util.StringConverter;
import java.util.List;
import java.util.Optional;
import java.util.concurrent.TimeUnit;
@FxmlView
public class NotificationsView extends ActivatableView<GridPane, Void> {
@ -214,16 +211,6 @@ public class NotificationsView extends ActivatableView<GridPane, Void> {
reset();
tokenInputTextField.setText(qrCode);
updatePriceAlertInputs();
if (mobileNotificationService.getMobileModel().getOs() != MobileModel.OS.ANDROID &&
!mobileNotificationService.getMobileModel().isContentAvailable()) {
UserThread.runAfter(() -> {
new Popup<>()
.warning(Res.get("account.notifications.isContentAvailable.warning",
mobileNotificationService.getMobileModel().getDescriptor()))
.show();
}, 600, TimeUnit.MILLISECONDS);
}
});
}, throwable -> {
if (throwable instanceof NoWebCamFoundException) {