#1231 - Use public constructors for License/Changelog dialog fragments so that they can be recreated on configuration change

This commit is contained in:
Joshua Soberg 2023-11-28 19:04:18 -05:00
parent 60e93559c3
commit 45220241aa
No known key found for this signature in database
GPG key ID: 534A6728316CFD9C
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ import android.content.Context;
import com.beemdevelopment.aegis.R; import com.beemdevelopment.aegis.R;
public class ChangelogDialog extends SimpleWebViewDialog { public class ChangelogDialog extends SimpleWebViewDialog {
private ChangelogDialog() { public ChangelogDialog() {
super(R.string.changelog); super(R.string.changelog);
} }

View file

@ -5,7 +5,7 @@ import android.content.Context;
import com.beemdevelopment.aegis.R; import com.beemdevelopment.aegis.R;
public class LicenseDialog extends SimpleWebViewDialog { public class LicenseDialog extends SimpleWebViewDialog {
private LicenseDialog() { public LicenseDialog() {
super(R.string.license); super(R.string.license);
} }