Optimize android vpn performance

Add custom primary color and color scheme

Add linux nad windows arm release

Optimize requests and logs page
This commit is contained in:
chen08209
2025-04-09 16:46:14 +08:00
parent a77b3a35e8
commit c9cd80bcb3
100 changed files with 3081 additions and 997 deletions

View File

@@ -71,10 +71,10 @@ class _StartButtonState extends State<StartButton>
final textWidth = globalState.measure
.computeTextSize(
Text(
other.getTimeDifference(
utils.getTimeDifference(
DateTime.now(),
),
style: Theme.of(context).textTheme.titleMedium?.toSoftBold,
style: context.textTheme.titleMedium?.toSoftBold,
),
)
.width +
@@ -123,10 +123,12 @@ class _StartButtonState extends State<StartButton>
child: Consumer(
builder: (_, ref, __) {
final runTime = ref.watch(runTimeProvider);
final text = other.getTimeText(runTime);
final text = utils.getTimeText(runTime);
return Text(
text,
style: Theme.of(context).textTheme.titleMedium?.toSoftBold,
style: Theme.of(context).textTheme.titleMedium?.toSoftBold.copyWith(
color: context.colorScheme.onPrimaryContainer
),
);
},
),