Skip to content
This repository has been archived by the owner on Sep 30, 2022. It is now read-only.

Commit

Permalink
undo some changes on excel
Browse files Browse the repository at this point in the history
  • Loading branch information
shreystechtips committed Mar 31, 2019
1 parent f5f44b3 commit a2f418c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions NRGScoutingApp/Pages/Data Handling/ExportDialog.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ await Share.RequestAsync (new ShareTextRequest {
});
break;
default:
//var response = await CrossPermissions.Current.RequestPermissionsAsync (Permission.Storage);
//String fileDir = Path.Combine (Android.OS.Environment.GetExternalStoragePublicDirectory (Android.OS.Environment.DirectoryDownloads).ToString (), excelFileBase + ".csv");
//File.WriteAllText (fileDir, "");
//File.WriteAllText (fileDir, csvString);
var response = await CrossPermissions.Current.RequestPermissionsAsync (Permission.Storage);
String fileDir = Path.Combine (Android.OS.Environment.GetExternalStoragePublicDirectory (Android.OS.Environment.DirectoryDownloads).ToString (), excelFileBase + ".csv");
File.WriteAllText (fileDir, "");
File.WriteAllText (fileDir, csvString);
break;

}
Expand Down

0 comments on commit a2f418c

Please sign in to comment.