Compare commits
No commits in common. "7c6237593ba62973c7dac9a32617fa0411a173e9" and "98464d3f67a008f413e733f70527aa49b7b21cd8" have entirely different histories.
7c6237593b
...
98464d3f67
|
@ -225,12 +225,7 @@ class _RankingState extends State<Ranking> {
|
|||
..click();
|
||||
} else {
|
||||
// final String path = (await getApplicationDocumentsDirectory()).path;
|
||||
//final directory = await getExternalStorageDirectory();
|
||||
|
||||
Directory? directory = Platform.isAndroid
|
||||
? await getExternalStorageDirectory()
|
||||
: await getApplicationDocumentsDirectory();
|
||||
|
||||
final directory = await getExternalStorageDirectory();
|
||||
final path = directory!.path;
|
||||
print("IamPathh: $path");
|
||||
|
||||
|
|
Loading…
Reference in New Issue