Merge pull request #3430 from Kingtous/master

opt: scrollbar in night mode
This commit is contained in:
RustDesk 2023-02-28 17:47:10 +08:00 committed by GitHub
commit 3d03f4b27b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -217,6 +217,9 @@ class MyTheme {
tabBarTheme: const TabBarTheme(
labelColor: Colors.white70,
),
scrollbarTheme: ScrollbarThemeData(
thumbColor: MaterialStateProperty.all(Colors.grey[500])
),
splashColor: Colors.transparent,
highlightColor: Colors.transparent,
splashFactory: isDesktop ? NoSplash.splashFactory : null,