mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-04-22 21:06:30 +02:00
Version 3.0.373
This commit is contained in:
parent
f1cbab1d0a
commit
06428d96d9
87 changed files with 1796 additions and 1208 deletions
|
@ -273,8 +273,7 @@ namespace TINK.ViewModel.Bikes.Bike.BluetoothLock
|
|||
var feedBackUri = SelectedBike?.OperatorUri;
|
||||
var battery = SelectedBike.Drive?.Battery;
|
||||
var feedback = await ViewService.DisplayUserFeedbackPopup(
|
||||
battery,
|
||||
bookingFinished?.Co2Saving);
|
||||
battery);
|
||||
|
||||
if (battery != null
|
||||
&& feedback.CurrentChargeBars != null)
|
||||
|
@ -350,11 +349,20 @@ namespace TINK.ViewModel.Bikes.Bike.BluetoothLock
|
|||
await ViewService.DisplayAlert(
|
||||
String.Format(AppResources.MessageRentalProcessEndRentalFinishedTitle, SelectedBike.Id),
|
||||
String.Format(
|
||||
"{0}{1}",
|
||||
!string.IsNullOrWhiteSpace(bookingFinished?.Co2Saving) ?
|
||||
$"{bookingFinished?.Co2Saving}\r\n\r\n"
|
||||
"{0}{1}{2}{3}{4}",
|
||||
!string.IsNullOrWhiteSpace(bookingFinished?.Distance) ?
|
||||
$"{String.Format(AppResources.MessageRentalProcessEndRentalFinishedDistanceText, bookingFinished?.Distance)}\r\n"
|
||||
: string.Empty,
|
||||
String.Format(AppResources.MessageRentalProcessEndRentalFinishedText)
|
||||
!string.IsNullOrWhiteSpace(bookingFinished?.Co2Saving) ?
|
||||
$"{String.Format(AppResources.MessageRentalProcessEndRentalFinishedCO2SavingText, bookingFinished?.Co2Saving)}\r\n"
|
||||
: string.Empty,
|
||||
!string.IsNullOrWhiteSpace(bookingFinished?.Duration) ?
|
||||
$"{String.Format(AppResources.MessageRentalProcessEndRentalFinishedDurationText, bookingFinished?.Duration)}\r\n"
|
||||
: $"{string.Empty}",
|
||||
!string.IsNullOrWhiteSpace(bookingFinished?.RentalCosts) ?
|
||||
$"{String.Format(AppResources.MessageRentalProcessEndRentalFinishedRentalCostsText,bookingFinished?.RentalCosts)}\r\n"
|
||||
: $"{AppResources.MessageRentalProcessEndRentalFinishedNoRentalCostsText}\r\n",
|
||||
AppResources.MessageRentalProcessEndRentalFinishedText
|
||||
),
|
||||
AppResources.MessageAnswerOk
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue