Compare commits

..

2 Commits

1 changed files with 6 additions and 1 deletions

View File

@ -225,7 +225,12 @@ class _RankingState extends State<Ranking> {
..click();
} else {
// final String path = (await getApplicationDocumentsDirectory()).path;
final directory = await getExternalStorageDirectory();
//final directory = await getExternalStorageDirectory();
Directory? directory = Platform.isAndroid
? await getExternalStorageDirectory()
: await getApplicationDocumentsDirectory();
final path = directory!.path;
print("IamPathh: $path");