As per I know there is no scenario which describes fungi as a decomposer.
▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️ Algae are not plants, animals or fungi. They belong to Kingdom Protista, a diverse group of single-celled eukaryotes. Protists have their own kingdom because many species share some characteristics of plants, animals or fungi. Algae belong to the group of plant-like protists. They are autotrophs that fulfill the role of producer in ecosystems because they make their own food via photosynthesis, like plants. ▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️▪️