mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-02 12:14:09 +01:00
Modify Themes Startup Behaviour (#2288)
* feat(themes): Reflect current system theme at the start of the app if the themeMode is system mode * feat(themes): Extract platform awareness for router into a function, and use where needed
This commit is contained in:
@@ -125,7 +125,6 @@ class BaseTextFormField extends StatelessWidget {
|
||||
suffix: suffix,
|
||||
suffixIcon: suffixIcon,
|
||||
filled: !hasUnderlineBorder,
|
||||
//border: !hasUnderlineBorder ? OutlineInputBorder() : null,
|
||||
fillColor:
|
||||
hasUnderlineBorder ? null : fillColor ?? Theme.of(context).colorScheme.surfaceContainer,
|
||||
hintStyle: placeholderTextStyle ??
|
||||
@@ -162,13 +161,6 @@ class BaseTextFormField extends StatelessWidget {
|
||||
),
|
||||
)
|
||||
: null,
|
||||
// OutlineInputBorder(
|
||||
// borderRadius: BorderRadius.circular(10),
|
||||
// borderSide: BorderSide(
|
||||
// color: Theme.of(context).colorScheme.outlineVariant,
|
||||
// width: 1.5,
|
||||
// )
|
||||
// ),
|
||||
errorBorder: hasUnderlineBorder
|
||||
? UnderlineInputBorder(
|
||||
borderSide: BorderSide(color: Theme.of(context).colorScheme.error),
|
||||
|
||||
Reference in New Issue
Block a user