impelement geckoview intent handling via viewport api; fix lints and ui issues
This commit is contained in:
1 parent
5e446f1b92
commit
849823f5df
18 files changed
+960
-33
No files matched your search
@@ -80,6 +80,10 @@ class AppColors extends ThemeExtension<AppColors> {
|
||||
|
||||
/// Get AppColors from the current theme
|
||||
static AppColors of(BuildContext context) {
|
||||
return Theme.of(context).extension<AppColors>() ?? light;
|
||||
return Theme.of(context).extension<AppColors>() ??
|
||||
switch (Theme.of(context).brightness) {
|
||||
Brightness.dark => dark,
|
||||
Brightness.light => light,
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user