Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
BeSafePlus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sebastian Kristensen
BeSafePlus
Commits
5d6e6201
Commit
5d6e6201
authored
1 week ago
by
MarcusStorvangJonassen
Browse files
Options
Downloads
Patches
Plain Diff
Now MonthlySteps also counts, when you walk steps
parent
0f7ba34f
No related branches found
Branches containing commit
No related tags found
1 merge request
!33
Frontend ui
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
BeSafePlus/ViewModels/ActivityHistoryViewModel.cs
+10
-0
10 additions, 0 deletions
BeSafePlus/ViewModels/ActivityHistoryViewModel.cs
BeSafePlus/Views/ActivityHistoryPage.xaml
+2
-2
2 additions, 2 deletions
BeSafePlus/Views/ActivityHistoryPage.xaml
with
12 additions
and
2 deletions
BeSafePlus/ViewModels/ActivityHistoryViewModel.cs
+
10
−
0
View file @
5d6e6201
...
...
@@ -101,6 +101,16 @@ namespace BeSafePlus.ViewModels
TotalStepsThisWeek
=
WeeklyStepData
.
Sum
(
data
=>
data
.
Steps
);
Task
.
Run
(
async
()
=>
{
await
LoadMonthlySteps
();
MainThread
.
BeginInvokeOnMainThread
(()
=>
{
OnPropertyChanged
(
nameof
(
TotalStepsThisMonth
));
});
});
OnPropertyChanged
(
nameof
(
WeeklyStepData
));
OnPropertyChanged
(
nameof
(
TotalStepsThisWeek
));
...
...
This diff is collapsed.
Click to expand it.
BeSafePlus/Views/ActivityHistoryPage.xaml
+
2
−
2
View file @
5d6e6201
...
...
@@ -133,7 +133,7 @@
HeightRequest="400"
WidthRequest="300"/>
<Label Text="Samlet Skridt i denne
u
ge:"
<Label Text="Samlet Skridt i denne
U
ge:"
FontSize="20"
HorizontalOptions="Center"/>
...
...
@@ -142,7 +142,7 @@
FontAttributes="Bold"
HorizontalOptions="Center"/>
<Label Text="Samlet Skridt i denne
m
åned:"
<Label Text="Samlet Skridt i denne
M
åned:"
FontSize="20"
HorizontalOptions="Center"/>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment