Skip to content

Commit

Permalink
ios: Disable share GIF because of bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
calcitem committed Dec 25, 2023
1 parent 9715ea6 commit 05714b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,10 @@ class _GameOptionsModal extends StatelessWidget {
onPressed: () => GameController.export(context),
child: Text(S.of(context).exportGame),
),
if (DB().generalSettings.gameScreenRecorderSupport)
// TODO: Fix iOS bug
if (DB().generalSettings.gameScreenRecorderSupport && !Platform.isIOS)
const CustomSpacer(),
if (DB().generalSettings.gameScreenRecorderSupport)
if (DB().generalSettings.gameScreenRecorderSupport && !Platform.isIOS)
SimpleDialogOption(
onPressed: () {
GameController().gifShare(context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,8 @@ class GeneralSettingsPage extends StatelessWidget {
),
],
),
if (!kIsWeb && (Platform.isAndroid || Platform.isIOS))
// TODO: Fix iOS bug
if (!kIsWeb && (Platform.isAndroid))
SettingsCard(
title: Text(S.of(context).gameScreenRecorder),
children: <Widget>[
Expand Down

0 comments on commit 05714b4

Please sign in to comment.