X-Git-Url: https://git.ktnx.net/?a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fjava%2Fnet%2Fktnx%2Fmobileledger%2Fui%2FCrashReportDialogFragment.java;h=fcb53193680f8b6c1f7f545203e07755df22dca1;hb=c27aa72c2c641bcd568692b4a20b125605cfb3b5;hp=cc426863212303bb1195df858f86489f78861de6;hpb=09e26d2279484b4dfe0de218b05f075362fff4b5;p=mobile-ledger.git diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/CrashReportDialogFragment.java b/app/src/main/java/net/ktnx/mobileledger/ui/CrashReportDialogFragment.java index cc426863..fcb53193 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/CrashReportDialogFragment.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/CrashReportDialogFragment.java @@ -1,3 +1,20 @@ +/* + * Copyright © 2019 Damyan Ivanov. + * This file is part of MoLe. + * MoLe is free software: you can distribute it and/or modify it + * under the term of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your opinion), any later version. + * + * MoLe 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 terms for details. + * + * You should have received a copy of the GNU General Public License + * along with MoLe. If not, see . + */ + package net.ktnx.mobileledger.ui; import android.app.AlertDialog; @@ -5,14 +22,15 @@ import android.app.Dialog; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; -import androidx.annotation.NonNull; -import androidx.annotation.Nullable; -import androidx.fragment.app.DialogFragment; import android.view.LayoutInflater; import android.view.View; import android.widget.ScrollView; import android.widget.TextView; +import androidx.annotation.NonNull; +import androidx.annotation.Nullable; +import androidx.fragment.app.DialogFragment; + import net.ktnx.mobileledger.R; import net.ktnx.mobileledger.utils.Globals; @@ -62,7 +80,7 @@ public class CrashReportDialogFragment extends DialogFragment { AlertDialog dialog = builder.create(); dialog.setOnShowListener(new DialogInterface.OnShowListener() { @Override - public void onShow(DialogInterface dialogIinterface) { + public void onShow(DialogInterface dialogInterface) { dialog.getButton(AlertDialog.BUTTON_NEUTRAL) .setOnClickListener(new View.OnClickListener() { @Override