Skip to content

Commit

Permalink
Remove unused list button for now
Browse files Browse the repository at this point in the history
  • Loading branch information
omar-selo committed May 8, 2023
1 parent b203855 commit 21727a0
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 30 deletions.
2 changes: 0 additions & 2 deletions frontend/lib/dashboard/header.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import 'package:flutter/material.dart';
import 'package:yaru/yaru.dart';
import 'package:yaru_icons/yaru_icons.dart';
import 'package:yaru_widgets/widgets.dart';

import '../models/family.dart';
import '../spacing.dart';
Expand Down Expand Up @@ -51,7 +50,6 @@ class Header extends StatelessWidget {
),
],
),
const YaruIconButton(icon: Icon(YaruIcons.unordered_list, size: 32)),
],
),
);
Expand Down
12 changes: 0 additions & 12 deletions frontend/linux/flutter/generated_plugin_registrant.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,13 @@
#include "generated_plugin_registrant.h"

#include <gtk/gtk_plugin.h>
#include <screen_retriever/screen_retriever_plugin.h>
#include <url_launcher_linux/url_launcher_plugin.h>
#include <window_manager/window_manager_plugin.h>
#include <yaru_window_linux/yaru_window_linux_plugin.h>

void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) gtk_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "GtkPlugin");
gtk_plugin_register_with_registrar(gtk_registrar);
g_autoptr(FlPluginRegistrar) screen_retriever_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "ScreenRetrieverPlugin");
screen_retriever_plugin_register_with_registrar(screen_retriever_registrar);
g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin");
url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar);
g_autoptr(FlPluginRegistrar) window_manager_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "WindowManagerPlugin");
window_manager_plugin_register_with_registrar(window_manager_registrar);
g_autoptr(FlPluginRegistrar) yaru_window_linux_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "YaruWindowLinuxPlugin");
yaru_window_linux_plugin_register_with_registrar(yaru_window_linux_registrar);
}
3 changes: 0 additions & 3 deletions frontend/linux/flutter/generated_plugins.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@

list(APPEND FLUTTER_PLUGIN_LIST
gtk
screen_retriever
url_launcher_linux
window_manager
yaru_window_linux
)

list(APPEND FLUTTER_FFI_PLUGIN_LIST
Expand Down
4 changes: 0 additions & 4 deletions frontend/macos/Flutter/GeneratedPluginRegistrant.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@
import FlutterMacOS
import Foundation

import screen_retriever
import url_launcher_macos
import window_manager

func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
ScreenRetrieverPlugin.register(with: registry.registrar(forPlugin: "ScreenRetrieverPlugin"))
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
WindowManagerPlugin.register(with: registry.registrar(forPlugin: "WindowManagerPlugin"))
}
1 change: 0 additions & 1 deletion frontend/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ dependencies:
url_launcher: ^6.1.10
yaru: ^0.7.0
yaru_icons: ^1.0.4
yaru_widgets: ^2.4.1
dev_dependencies:
flutter_lints: ^2.0.0
dependency_validator: ^3.2.2
Expand Down
6 changes: 0 additions & 6 deletions frontend/windows/flutter/generated_plugin_registrant.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,9 @@

#include "generated_plugin_registrant.h"

#include <screen_retriever/screen_retriever_plugin.h>
#include <url_launcher_windows/url_launcher_windows.h>
#include <window_manager/window_manager_plugin.h>

void RegisterPlugins(flutter::PluginRegistry* registry) {
ScreenRetrieverPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("ScreenRetrieverPlugin"));
UrlLauncherWindowsRegisterWithRegistrar(
registry->GetRegistrarForPlugin("UrlLauncherWindows"));
WindowManagerPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("WindowManagerPlugin"));
}
2 changes: 0 additions & 2 deletions frontend/windows/flutter/generated_plugins.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
#

list(APPEND FLUTTER_PLUGIN_LIST
screen_retriever
url_launcher_windows
window_manager
)

list(APPEND FLUTTER_FFI_PLUGIN_LIST
Expand Down

0 comments on commit 21727a0

Please sign in to comment.