Revert "Standalone item group"

This reverts commit d97f69e72b.
pull/194/merge
M66B 3 years ago
parent 6bb2f9d179
commit 813b8651b8

@ -4,7 +4,7 @@ apply plugin: 'kotlin-android'
apply plugin: 'de.undercouch.download' apply plugin: 'de.undercouch.download'
def getVersionCode = { -> return 1801 } def getVersionCode = { -> return 1801 }
def getRevision = { -> "f" } def getRevision = { -> "c" }
def getReleaseName = { -> return "Draconyx" } def getReleaseName = { -> return "Draconyx" }
// https://en.wikipedia.org/wiki/List_of_dinosaur_genera // https://en.wikipedia.org/wiki/List_of_dinosaur_genera

@ -192,7 +192,7 @@ public class FragmentAccounts extends FragmentBase {
return null; return null;
} }
View header = inflater.inflate(R.layout.item_group, null, false); View header = inflater.inflate(R.layout.item_group, parent, false);
TextView tvCategory = header.findViewById(R.id.tvCategory); TextView tvCategory = header.findViewById(R.id.tvCategory);
TextView tvDate = header.findViewById(R.id.tvDate); TextView tvDate = header.findViewById(R.id.tvDate);

@ -264,7 +264,7 @@ public class FragmentFolders extends FragmentBase {
return null; return null;
} }
View header = inflater.inflate(R.layout.item_group, null, false); View header = inflater.inflate(R.layout.item_group, parent, false);
TextView tvCategory = header.findViewById(R.id.tvCategory); TextView tvCategory = header.findViewById(R.id.tvCategory);
TextView tvDate = header.findViewById(R.id.tvDate); TextView tvDate = header.findViewById(R.id.tvDate);

@ -139,7 +139,7 @@ public class FragmentIdentities extends FragmentBase {
return null; return null;
} }
View header = inflater.inflate(R.layout.item_group, null, false); View header = inflater.inflate(R.layout.item_group, parent, false);
TextView tvCategory = header.findViewById(R.id.tvCategory); TextView tvCategory = header.findViewById(R.id.tvCategory);
TextView tvDate = header.findViewById(R.id.tvDate); TextView tvDate = header.findViewById(R.id.tvDate);

@ -771,7 +771,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
if (!ch && !dh) if (!ch && !dh)
return null; return null;
View header = inflater.inflate(R.layout.item_group, null, false); View header = inflater.inflate(R.layout.item_group, parent, false);
TextView tvCategory = header.findViewById(R.id.tvCategory); TextView tvCategory = header.findViewById(R.id.tvCategory);
TextView tvDate = header.findViewById(R.id.tvDate); TextView tvDate = header.findViewById(R.id.tvDate);
tvCategory.setVisibility(ch ? View.VISIBLE : View.GONE); tvCategory.setVisibility(ch ? View.VISIBLE : View.GONE);

Loading…
Cancel
Save