mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 23:34:24 +01:00
feat: turn off countly
This commit is contained in:
@@ -1043,6 +1043,7 @@ class _SettingPageState extends State<SettingPage> {
|
||||
return ExpandTile(
|
||||
title: Text(l10n.more),
|
||||
children: [
|
||||
if (isAndroid || isIOS) _buildCollectUsage(),
|
||||
_buildCollapseUI(),
|
||||
_buildCupertinoRoute(),
|
||||
if (isDesktop) _buildHideTitleBar(),
|
||||
@@ -1087,4 +1088,12 @@ class _SettingPageState extends State<SettingPage> {
|
||||
trailing: StoreSwitch(prop: _setting.editorSoftWrap),
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildCollectUsage() {
|
||||
return ListTile(
|
||||
title: const Text('Countly'),
|
||||
subtitle: Text(l10n.collectUsage, style: UIs.textGrey),
|
||||
trailing: StoreSwitch(prop: _setting.collectUsage),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user