Merge branch 'main' of https://git.aissel.com/poojakhatawate/DiscoverModule into devios
This commit is contained in:
commit
7c6237593b
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue