mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
Merge pull request #3305 from wschaeferB/3330-RemoveHardCodedAutopsy
3330 remove hardcoded autopsy and add comment regarding 3334
This commit is contained in:
commit
7484a310f8
@ -999,6 +999,7 @@ public class Case {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static String getNameForTitle(){
|
private static String getNameForTitle(){
|
||||||
|
//Method should become unnecessary once technical debt story 3334 is done.
|
||||||
if (UserPreferences.getAppName().equals(Version.getName())){
|
if (UserPreferences.getAppName().equals(Version.getName())){
|
||||||
//Available version number is version number for this application
|
//Available version number is version number for this application
|
||||||
return String.format("%s %s", UserPreferences.getAppName(), Version.getVersion());
|
return String.format("%s %s", UserPreferences.getAppName(), Version.getVersion());
|
||||||
|
@ -357,7 +357,7 @@ public final class UserPreferences {
|
|||||||
* @return Name of this program
|
* @return Name of this program
|
||||||
*/
|
*/
|
||||||
public static String getAppName() {
|
public static String getAppName() {
|
||||||
return preferences.get(APP_NAME, "Autopsy");
|
return preferences.get(APP_NAME, Version.getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user