Merge remote-tracking branch 'origin/feature/v2.0.0' into feature/v2.0.0

This commit is contained in:
tongchenfei
2020-05-29 14:40:19 +08:00
23 changed files with 308 additions and 282 deletions

View File

@@ -68,7 +68,7 @@ public abstract class BaseNaviInfoView {
protected String getFormatSurplusTime( int seconds ) {
if ( seconds > 60 * 60 ) {
mFormatSurplusDistanceUnit = "h";
return String.format( "%.1f", ( ( float ) seconds ) / 60 * 60 );
return String.format( "%.1f", ( ( float ) seconds ) / ( 60 * 60 ) );
}
if ( seconds > 60 ) {