--- a/TalerWallet1/Views/OIM/OIMEditView.swift +++ b/TalerWallet1/Views/OIM/OIMEditView.swift @@ -86,7 +86,9 @@ isFinal: false, isSending: sending, action: sendAction, + // an amount typed on the non-OIM page can be more than we have actDisabled: amountToTransfer.isZero + || (useAvailable && amountToTransfer.centValue > available.centValue) ) { ZStack(alignment: .top) { VStack {