Add rescan option to overflow dropdown (#1119)

* Make scan options optional
* Add scene rescan
* Add image rescan
* Add gallery rescan
* Add changelog
This commit is contained in:
WithoutPants
2021-02-23 12:56:01 +11:00
committed by GitHub
parent 7fbb92d071
commit f7a8899d90
10 changed files with 107 additions and 12 deletions

View File

@@ -7,3 +7,8 @@ func Btoi(b bool) int {
}
return 0
}
// IsTrue returns true if the bool pointer is not nil and true.
func IsTrue(b *bool) bool {
return b != nil && *b
}