-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated the dashboard screen with state and actions
- Loading branch information
Showing
13 changed files
with
227 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<color name="ic_launcher_background">#DC3D3D</color> | ||
<color name="ic_launcher_background">#07052A</color> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...xpensemanager/core/model/AmountUiState.kt → ...nsemanager/core/model/ExpenseFlowState.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
core/model/src/main/kotlin/com/naveenapps/expensemanager/core/model/PieChartData.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
...hboard/src/main/kotlin/com/naveenapps/expensemanager/feature/dashboard/DashboardAction.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package com.naveenapps.expensemanager.feature.dashboard | ||
|
||
import com.naveenapps.expensemanager.core.domain.usecase.budget.BudgetUiModel | ||
import com.naveenapps.expensemanager.core.model.AccountUiModel | ||
import com.naveenapps.expensemanager.core.model.TransactionUiItem | ||
|
||
sealed class DashboardAction { | ||
|
||
data object OpenSettings : DashboardAction() | ||
|
||
data class OpenTransactionEdit(val transaction: TransactionUiItem?) : DashboardAction() | ||
|
||
data object OpenTransactionList : DashboardAction() | ||
|
||
data object OpenBudgetList : DashboardAction() | ||
|
||
data class OpenBudgetDetails(val budgetUiModel: BudgetUiModel) : DashboardAction() | ||
|
||
data class OpenAccountEdit(val account: AccountUiModel) : DashboardAction() | ||
|
||
data object OpenAccountList : DashboardAction() | ||
} |
Oops, something went wrong.