-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
564e2b7
commit 90dfb6c
Showing
4 changed files
with
64 additions
and
17 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
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
26 changes: 26 additions & 0 deletions
26
...l/rijksoverheid/ctr/holder/ui/priority_notification/PriorityNotificationDialogFragment.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,26 @@ | ||
package nl.rijksoverheid.ctr.holder.ui.priority_notification | ||
|
||
import android.os.Bundle | ||
import androidx.appcompat.app.AlertDialog | ||
import androidx.fragment.app.DialogFragment | ||
import nl.rijksoverheid.ctr.design.R | ||
import nl.rijksoverheid.ctr.persistence.HolderCachedAppConfigUseCase | ||
import org.koin.android.ext.android.inject | ||
|
||
/* | ||
* Copyright (c) 2021 De Staat der Nederlanden, Ministerie van Volksgezondheid, Welzijn en Sport. | ||
* Licensed under the EUROPEAN UNION PUBLIC LICENCE v. 1.2 | ||
* | ||
* SPDX-License-Identifier: EUPL-1.2 | ||
* | ||
*/ | ||
|
||
class PriorityNotificationDialogFragment : DialogFragment() { | ||
|
||
private val cachedAppConfigUseCase: HolderCachedAppConfigUseCase by inject() | ||
|
||
override fun onCreateDialog(savedInstanceState: Bundle?) = AlertDialog.Builder(requireContext()) | ||
.setMessage("pou sia re") | ||
.setPositiveButton(getString(R.string.ok)) { _, _ -> } | ||
.create() | ||
} |