mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-23 15:30:14 -04:00
formatting and readme updates
This commit is contained in:
parent
b542da787b
commit
bb3d3ef5b6
@ -55,3 +55,4 @@ To get more help on the Angular CLI use `ng help` or go check out the [Angular C
|
|||||||
- Android and IOS mobile apps with Ionic Capactor
|
- Android and IOS mobile apps with Ionic Capactor
|
||||||
- Test note persistence
|
- Test note persistence
|
||||||
- Test note search
|
- Test note search
|
||||||
|
- Make card icons configurable (for future)
|
||||||
|
@ -86,6 +86,8 @@ const initialState: AppState = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//#region
|
||||||
|
|
||||||
type AppAction =
|
type AppAction =
|
||||||
| {
|
| {
|
||||||
type: 'GET_SAVED_PAGE';
|
type: 'GET_SAVED_PAGE';
|
||||||
@ -163,6 +165,8 @@ type AppAction =
|
|||||||
note: NoteItem;
|
note: NoteItem;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//#endregion Actions
|
||||||
|
|
||||||
function maybeMutateStorable<T>(
|
function maybeMutateStorable<T>(
|
||||||
state: AppState,
|
state: AppState,
|
||||||
candidate: IStorable<T>,
|
candidate: IStorable<T>,
|
||||||
@ -503,6 +507,8 @@ export class AppService extends createStateService(reducer, initialState) {
|
|||||||
this.searchIndexArray = this.buildIndexArray().sort();
|
this.searchIndexArray = this.buildIndexArray().sort();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//#region General
|
||||||
|
|
||||||
removeCard(card: CardItem) {
|
removeCard(card: CardItem) {
|
||||||
this.dispatch({
|
this.dispatch({
|
||||||
type: 'REMOVE_CARD',
|
type: 'REMOVE_CARD',
|
||||||
@ -527,6 +533,8 @@ export class AppService extends createStateService(reducer, initialState) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//#endregion
|
||||||
|
|
||||||
//#region Saved Pages
|
//#region Saved Pages
|
||||||
|
|
||||||
getSavedPage(pageid: string) {
|
getSavedPage(pageid: string) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user