mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-13 03:28:03 +00:00
remove stupid group, bad implementation, buggy, and not usable
This commit is contained in:
@@ -30,13 +30,17 @@ class GroupModel {
|
||||
initialized = false;
|
||||
}
|
||||
|
||||
Future<void> pull({force = true}) async {
|
||||
Future<void> pull({force = true, quiet = false}) async {
|
||||
/*
|
||||
if (!force && initialized) return;
|
||||
groupLoading.value = true;
|
||||
groupLoadError.value = "";
|
||||
if (!quiet) {
|
||||
groupLoading.value = true;
|
||||
groupLoadError.value = "";
|
||||
}
|
||||
await _pull();
|
||||
groupLoading.value = false;
|
||||
initialized = true;
|
||||
*/
|
||||
}
|
||||
|
||||
Future<void> _pull() async {
|
||||
@@ -137,7 +141,8 @@ class GroupModel {
|
||||
final api = "${await bind.mainGetApiServer()}/api/peers";
|
||||
try {
|
||||
var uri0 = Uri.parse(api);
|
||||
final pageSize = 20;
|
||||
final pageSize =
|
||||
20; // ????????????????????????????????????????????????????? stupid stupis, how about >20 peers
|
||||
var total = 0;
|
||||
int current = 0;
|
||||
var queryParameters = {
|
||||
|
||||
@@ -16,7 +16,7 @@ class PeerTabModel with ChangeNotifier {
|
||||
'Favorites',
|
||||
'Discovered',
|
||||
'Address Book',
|
||||
defaultGroupTabname,
|
||||
//defaultGroupTabname,
|
||||
];
|
||||
final List<IconData> icons = [
|
||||
Icons.access_time_filled,
|
||||
|
||||
Reference in New Issue
Block a user