Skip to content

Commit

Permalink
Removed duplicated color
Browse files Browse the repository at this point in the history
  • Loading branch information
AlixH committed Dec 3, 2021
1 parent 765ac04 commit 1c2ae8f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion android/app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<resources>
<color name="primary_dark">#00376C</color>
<color name="primary">#0a6ed1</color>
<color name="modalBackground">#262626</color>
<color name="status_bar_color">#00376C</color>
<color name="modalBackground">#262626</color>
<color name="navigationBarBackground">#E7E7E7</color>
Expand Down
5 changes: 5 additions & 0 deletions src/screens/site-areas/SiteAreas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ export default class SiteAreas extends BaseAutoRefreshScreen<Props, State> {
this.site = Utils.getParamFromNavigation(this.props.route, 'site', null) as unknown as Site;
}

public componentDidBlur() {
super.componentDidBlur();
delete this.site
}

public getSiteAreas = async (searchText: string = '', skip: number, limit: number): Promise<DataResult<SiteArea>> => {
try {
// Get current location
Expand Down

0 comments on commit 1c2ae8f

Please sign in to comment.