Skip to content

Commit

Permalink
chore: add license ot AddVotingKeysFragment
Browse files Browse the repository at this point in the history
  • Loading branch information
HashEngineering committed Nov 20, 2024
1 parent ef8c3f3 commit 6be476f
Showing 1 changed file with 18 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,31 @@
/*
* Copyright 2023 Dash Core Group.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package de.schildbach.wallet.ui.username

import android.os.Bundle
import android.view.View
import androidx.core.view.isGone
import androidx.core.view.isVisible
import androidx.fragment.app.Fragment
import androidx.lifecycle.lifecycleScope
import androidx.navigation.fragment.findNavController
import androidx.navigation.fragment.navArgs
import de.schildbach.wallet.database.entity.UsernameVote
import de.schildbach.wallet.ui.username.adapters.IPAddressAdapter
import de.schildbach.wallet.ui.username.adapters.MasternodeEntry
import de.schildbach.wallet.ui.username.utils.votingViewModels
import de.schildbach.wallet_test.R
import de.schildbach.wallet_test.databinding.FragmentAddVotingKeysBinding
Expand All @@ -21,12 +37,12 @@ import org.dash.wallet.common.ui.viewBinding
import org.dash.wallet.common.util.observe
import org.dash.wallet.common.util.safeNavigate
import org.slf4j.LoggerFactory
import java.util.logging.Logger

class AddVotingKeysFragment : Fragment(R.layout.fragment_add_voting_keys) {
companion object {
private val log = LoggerFactory.getLogger(AddVotingKeysFragment::class.java)
}

private val binding by viewBinding(FragmentAddVotingKeysBinding::bind)
private val viewModel by votingViewModels<UsernameRequestsViewModel>()
private val args by navArgs<AddVotingKeysFragmentArgs>()
Expand Down

0 comments on commit 6be476f

Please sign in to comment.