Skip to content

Commit

Permalink
Bug Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
powerpoint45 committed May 13, 2020
1 parent 078c7e2 commit d980300
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "com.powerpoint45.dtube"
minSdkVersion 21
targetSdkVersion 28
versionCode 20
versionName "2.9"
versionCode 31
versionName "2.91"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down
Binary file modified app/release/app-release.apk
Binary file not shown.
2 changes: 1 addition & 1 deletion app/release/output.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":20,"versionName":"2.9","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":31,"versionName":"2.91","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
14 changes: 9 additions & 5 deletions app/src/main/res/raw/steemit.html
Original file line number Diff line number Diff line change
Expand Up @@ -479,12 +479,16 @@


if (duration){
var date = new Date(null);
date.setSeconds(duration); // specify value for SECONDS here
var timeString = date.toISOString().substr(11, 8);
video.duration = timeString;
console.log(duration);
if (typeof duration == "string" && duration.includes(":"))
video.duration = duration;
else {
var date = new Date(null);
date.setSeconds(duration); // specify value for SECONDS here
var timeString = date.toISOString().substr(11, 8);
video.duration = timeString;
}
}

}
return(video);
}
Expand Down

0 comments on commit d980300

Please sign in to comment.