feat: in-app terms & conditions + app name داروچی
- Add شرایط و قوانین page (full-screen dialog) reachable from drawer and login sheet - TermsController + LegalContent + TermsDialog (store-agnostic wording) - App bar title uses app_name; set app_name to داروچی Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -28,6 +28,7 @@ import com.approagency.pharmacy.domain.usecase.SearchDrugsYabUseCase
|
||||
import com.approagency.pharmacy.domain.usecase.SearchTestsUseCase
|
||||
import com.approagency.pharmacy.presentation.account.AccountSheetController
|
||||
import com.approagency.pharmacy.presentation.account.OtpAutoFillBus
|
||||
import com.approagency.pharmacy.presentation.legal.TermsController
|
||||
import com.approagency.pharmacy.presentation.viewModel.AccountViewModel
|
||||
import com.approagency.pharmacy.presentation.viewModel.DrugDetailViewModel
|
||||
import com.approagency.pharmacy.presentation.viewModel.HomeViewModel
|
||||
@@ -191,6 +192,9 @@ val appModule= module {
|
||||
// پلِ تحویل کدِ خواندهشده از پیامک به شیت ورود
|
||||
single { OtpAutoFillBus() }
|
||||
|
||||
// کنترلر نمایش صفحهٔ شرایط و قوانین
|
||||
single { TermsController() }
|
||||
|
||||
viewModel {
|
||||
AccountViewModel(get(), get(), get())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user