mirror of
https://github.com/foss42/apidash.git
synced 2025-05-26 02:36:31 +08:00
Disable save in downloads for mobile
This commit is contained in:
@ -154,10 +154,14 @@ class ViewCodePane extends StatelessWidget {
|
||||
showLabel: showLabel,
|
||||
),
|
||||
),
|
||||
SaveInDownloadsButton(
|
||||
content: stringToBytes(code),
|
||||
ext: codegenLanguage.ext,
|
||||
showLabel: showLabel,
|
||||
// TODO: Save to Downloads folder does not work in Mobile
|
||||
Visibility(
|
||||
visible: !kIsMobile,
|
||||
child: SaveInDownloadsButton(
|
||||
content: stringToBytes(code),
|
||||
ext: codegenLanguage.ext,
|
||||
showLabel: showLabel,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
Reference in New Issue
Block a user