File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
DownloadManager/Plugin.DownloadManager.Android Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -160,8 +160,8 @@ void StartDownloadWatcher ()
160160 */
161161 public void UpdateFileProperties ( ICursor cursor , DownloadFileImplementation downloadFile )
162162 {
163- downloadFile . TotalBytesWritten = cursor . GetInt ( cursor . GetColumnIndex ( Android . App . DownloadManager . ColumnBytesDownloadedSoFar ) ) ;
164- downloadFile . TotalBytesExpected = cursor . GetInt ( cursor . GetColumnIndex ( Android . App . DownloadManager . ColumnTotalSizeBytes ) ) ;
163+ downloadFile . TotalBytesWritten = cursor . GetFloat ( cursor . GetColumnIndex ( Android . App . DownloadManager . ColumnBytesDownloadedSoFar ) ) ;
164+ downloadFile . TotalBytesExpected = cursor . GetFloat ( cursor . GetColumnIndex ( Android . App . DownloadManager . ColumnTotalSizeBytes ) ) ;
165165
166166 switch ( ( DownloadStatus ) cursor . GetInt ( cursor . GetColumnIndex ( Android . App . DownloadManager . ColumnStatus ) ) ) {
167167 case DownloadStatus . Successful :
You can’t perform that action at this time.
0 commit comments