mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-04 00:31:27 +03:00
@@ -288,8 +288,8 @@ class MyTheme {
|
|||||||
tabBarTheme: const TabBarTheme(
|
tabBarTheme: const TabBarTheme(
|
||||||
labelColor: Colors.black87,
|
labelColor: Colors.black87,
|
||||||
),
|
),
|
||||||
splashColor: Colors.transparent,
|
splashColor: isDesktop ? Colors.transparent : null,
|
||||||
highlightColor: Colors.transparent,
|
highlightColor: isDesktop ? Colors.transparent : null,
|
||||||
splashFactory: isDesktop ? NoSplash.splashFactory : null,
|
splashFactory: isDesktop ? NoSplash.splashFactory : null,
|
||||||
textButtonTheme: isDesktop
|
textButtonTheme: isDesktop
|
||||||
? TextButtonThemeData(
|
? TextButtonThemeData(
|
||||||
@@ -377,8 +377,8 @@ class MyTheme {
|
|||||||
scrollbarTheme: ScrollbarThemeData(
|
scrollbarTheme: ScrollbarThemeData(
|
||||||
thumbColor: MaterialStateProperty.all(Colors.grey[500]),
|
thumbColor: MaterialStateProperty.all(Colors.grey[500]),
|
||||||
),
|
),
|
||||||
splashColor: Colors.transparent,
|
splashColor: isDesktop ? Colors.transparent : null,
|
||||||
highlightColor: Colors.transparent,
|
highlightColor: isDesktop ? Colors.transparent : null,
|
||||||
splashFactory: isDesktop ? NoSplash.splashFactory : null,
|
splashFactory: isDesktop ? NoSplash.splashFactory : null,
|
||||||
textButtonTheme: isDesktop
|
textButtonTheme: isDesktop
|
||||||
? TextButtonThemeData(
|
? TextButtonThemeData(
|
||||||
|
|||||||
Reference in New Issue
Block a user