Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议 iOS 平台显示 Sanity Single Folder 开关 #236

Closed
ddddbug opened this issue Jul 11, 2021 · 5 comments
Closed

建议 iOS 平台显示 Sanity Single Folder 开关 #236

ddddbug opened this issue Jul 11, 2021 · 5 comments

Comments

@ddddbug
Copy link

ddddbug commented Jul 11, 2021

相关的改动可能有:

} else {
final _imageSaver = ImageSaver();
List<Uint8List> bytesList = [uint8list];
await _imageSaver.saveImages(
imageBytes: bytesList, directoryName: 'pxez');
}

改成

    } else {
      final _imageSaver = ImageSaver();
      List<Uint8List> bytesList = [uint8list];
      if (userSetting.overSanityLevelFolder && sanityLevel > 2) {
        await _imageSaver.saveImages(
            imageBytes: bytesList, directoryName: 'pxez_sanity');
      } else {
        await _imageSaver.saveImages(
            imageBytes: bytesList, directoryName: 'pxez');
      }
    }

Observer(
builder: (context) {
return SwitchListTile(
secondary: Icon(Icons.folder_open),
onChanged: (bool value) async {
await userSetting.setOverSanityLevelFolder(value);
},
title: Text("Sanity Single Folder"),
value: userSetting.overSanityLevelFolder,
);
},
),

换到上个设置视图?

不会写 Dart ,所以第二个改动不太清楚,没敢提 PR 。
望采纳。

@Notsfsssf
Copy link
Owner

主要担心的是Sanity level 在ios审核眼里是不是就不该存在,毕竟是明面上完全杜绝性暗示,可以尝试挑战一下。。

@ddddbug
Copy link
Author

ddddbug commented Jul 11, 2021

不过 App Store 里面已经标明

Age Rating
17+
Infrequent/Mild Mature/Suggestive Themes
Frequent/Intense Sexual Content or Nudity

当然,我也不是很懂 iOS 怎么审核的...

@Notsfsssf
Copy link
Owner

不过 App Store 里面已经标明

Age Rating
17+
Infrequent/Mild Mature/Suggestive Themes
Frequent/Intense Sexual Content or Nudity

当然,我也不是很懂 iOS 怎么审核的...

google play是标成18+连紧身衣都不能有,ios app store估计更甚吧,不过我可以试试,app store遇到不适合的更新只会打回,不会像google play一样封禁应用

@ddddbug
Copy link
Author

ddddbug commented Jul 11, 2021

懂了,所以如果为了闪避可以给开关换个名字?

@Notsfsssf
Copy link
Owner

已添加

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants