mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
opt. for settings page
This commit is contained in:
@@ -104,6 +104,7 @@ Future<void> _doUpdate(String url, BuildContext context, S s) async {
|
||||
|
||||
// rmdir Download
|
||||
Future<void> _rmDownloadApks() async {
|
||||
if (!isAndroid) return;
|
||||
final dlDir = Directory(pathJoin((await docDir).path, 'Download'));
|
||||
if (await dlDir.exists()) {
|
||||
await dlDir.delete(recursive: true);
|
||||
|
||||
Reference in New Issue
Block a user