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:
2026-06-14 22:01:43 +03:30
co-authored by Claude Opus 4.8
parent f266f4d142
commit 2715bc720d
10 changed files with 372 additions and 4 deletions
@@ -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())
}